Skip to content

Compile warnings #34

Description

@Stoatwblr

Built with the denoiser disabled.

Probably harmless, but even so...

(compiler run without boost)

/usr/bin/ccache g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0 -I./libs -I./include -D__WEAK_CRYPTO__ -I/usr/include/upnp  -DENABLE_UPNP=1  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pg -O2  -MT libmuleappcore_a-Scanner.o -MD -MP -MF .deps/libmuleappcore_a-Scanner.Tpo -c -o libmuleappcore_a-Scanner.o `test -f 'Scanner.cpp' || echo './'`Scanner.cpp
./Scanner.l:214:5: warning: "YY_STACK_USED" is not defined [-Wundef]
  yy_n_chars = 0;
     ^
Scanner.cpp:1803:13: warning: ���void yy_fatal_error(const char*)��� defined but not used [-Wunused-function]
 static void yy_fatal_error (yyconst char* msg )
             ^

/usr/bin/ccache g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DENABLE_IP2COUNTRY=1 -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pg -O2 -pthread   -MT amule-amule.o -MD -MP -MF .deps/amule-amule.Tpo -c -o amule-amule.o `test -f 'amule.cpp' || echo './'`amule.cpp
amule.cpp: In member function ���virtual bool CamuleApp::OnInit()���:
amule.cpp:430:7: warning: variable ���old_localedef��� set but not used [-Wunused-but-set-variable]
  bool old_localedef = false;
       ^

/usr/bin/ccache g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DENABLE_IP2COUNTRY=1 -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pg -O2 -pthread   -MT amule-UploadBandwidthThrottler.o -MD -MP -MF .deps/amule-UploadBandwidthThrottler.Tpo -c -o amule-UploadBandwidthThrottler.o `test -f 'UploadBandwidthThrottler.cpp' || echo './'`UploadBandwidthThrottler.cpp
UploadBandwidthThrottler.cpp:50:14: warning: ���_UI32_MAX��� defined but not used [-Wunused-variable]
 const uint32 _UI32_MAX = std::numeric_limits<uint32>::max();
              ^
UploadBandwidthThrottler.cpp:51:14: warning: ���_I32_MAX��� defined but not used [-Wunused-variable]
 const sint32 _I32_MAX = std::numeric_limits<sint32>::max();
              ^
UploadBandwidthThrottler.cpp:52:14: warning: ���_UI64_MAX��� defined but not used [-Wunused-variable]
 const uint64 _UI64_MAX = std::numeric_limits<uint64>::max();
              ^
UploadBandwidthThrottler.cpp:53:14: warning: ���_I64_MAX��� defined but not used [-Wunused-variable]
 const sint64 _I64_MAX = std::numeric_limits<sint64>::max();
              ^

/usr/bin/ccache g++ -DHAVE_CONFIG_H -I. -I..  -D__DEBUG__ -DUSE_WX_EXTENSIONS -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DwxUSE_GUI=0  -I/usr/include/upnp  -DENABLE_UPNP=1 -pthread  -I./libs -Ilibs -I./include -D__WEAK_CRYPTO__ -DAMULE_DAEMON  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -pg -O2 -pthread   -MT amuled-UploadBandwidthThrottler.o -MD -MP -MF .deps/amuled-UploadBandwidthThrottler.Tpo -c -o amuled-UploadBandwidthThrottler.o `test -f 'UploadBandwidthThrottler.cpp' || echo './'`UploadBandwidthThrottler.cpp
UploadBandwidthThrottler.cpp:50:14: warning: ���_UI32_MAX��� defined but not used [-Wunused-variable]
 const uint32 _UI32_MAX = std::numeric_limits<uint32>::max();
              ^
UploadBandwidthThrottler.cpp:51:14: warning: ���_I32_MAX��� defined but not used [-Wunused-variable]
 const sint32 _I32_MAX = std::numeric_limits<sint32>::max();
              ^
UploadBandwidthThrottler.cpp:52:14: warning: ���_UI64_MAX��� defined but not used [-Wunused-variable]
 const uint64 _UI64_MAX = std::numeric_limits<uint64>::max();
              ^
UploadBandwidthThrottler.cpp:53:14: warning: ���_I64_MAX��� defined but not used [-Wunused-variable]
 const sint64 _I64_MAX = std::numeric_limits<sint64>::max();
              ^

I'm not sure why the throttler was compiled twice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions