Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Version 1.6.5 released

I updated pkgsrc, uneventfully, and updating a semi-production broker to
1.6.5 was also unexciting.

Building the pkgsrc package, I see a few warnings.

For the initgroups issues, unistd.h looks right, and I suspect
visibility macros.




[ 34%] Building CXX object lib/cpp/CMakeFiles/mosquittopp.dir/mosquittopp.cpp.o
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_connect_wrapper(mosquitto*, void*, int)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:27:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:27:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_connect_with_flags_wrapper(mosquitto*, void*, int, int)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:36:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:36:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_disconnect_wrapper(mosquitto*, void*, int)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:43:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:43:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_publish_wrapper(mosquitto*, void*, int)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:50:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:50:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_message_wrapper(mosquitto*, void*, const mosquitto_message*)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:57:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:57:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_subscribe_wrapper(mosquitto*, void*, int, int, const int*)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:64:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:64:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_unsubscribe_wrapper(mosquitto*, void*, int)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:71:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:71:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp: In function 'void mosqpp::on_log_wrapper(mosquitto*, void*, int, const char*)':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:79:21: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                     ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:79:44: warning: 'mosquittopp' is deprecated [-Wdeprecated-declarations]
  class mosquittopp *m = (class mosquittopp *)userdata;
                                            ^
In file included from /tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.cpp:19:0:
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/lib/cpp/mosquittopp.h:90:32: note: declared here
 class mosqpp_EXPORT DEPRECATED mosquittopp {
                                ^
[ 66%] Building C object src/CMakeFiles/mosquitto.dir/mosquitto.c.o
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/src/mosquitto.c: In function 'drop_privileges':
/tmp/work/net/mosquitto/work/mosquitto-1.6.5/src/mosquitto.c:110:7: warning: implicit declaration of function 'initgroups' [-Wimplicit-function-declaration]
    if(initgroups(config->user, pwd->pw_gid) == -1){
       ^




Back to the top