FTP upload warnings
Created by: VictorLamoine
Compiling with the curlite
code yelds warnings:
In file included from ./fanuc_post_processor_library/src/curlite.cpp:28:0:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = long int]’:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:318:53: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionLongCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
static_assert( OptionTypeCode<ValueType>::value != OptionInvalidCode::value, "the type is not supported by curl_easy_setopt" );
^
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = const char*]’:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:328:40: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionObjectPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = long unsigned int (*)(char*, long unsigned int, long unsigned int, void*)]’:
./fanuc_post_processor_library/src/curlite.cpp:544:63: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = void*]’:
./fanuc_post_processor_library/src/curlite.cpp:545:70: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionObjectPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, double, double, double, double)]’:
./fanuc_post_processor_library/src/curlite.cpp:571:71: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, curl_infotype, char*, long unsigned int, void*)]’:
./fanuc_post_processor_library/src/curlite.cpp:581:65: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = curlioerr (*)(void*, int, void*)]’:
./fanuc_post_processor_library/src/curlite.cpp:591:65: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, long int, int)]’:
./fanuc_post_processor_library/src/curlite.cpp:600:63: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, const char*, const char*)]’:
./fanuc_post_processor_library/src/curlite.cpp:609:70: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, long int, long int, long int, long int)]’:
./fanuc_post_processor_library/src/curlite.cpp:618:71: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, curlsocktype, curl_sockaddr*)]’:
./fanuc_post_processor_library/src/curlite.cpp:628:75: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, int)]’:
./fanuc_post_processor_library/src/curlite.cpp:637:77: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = int (*)(void*, int, curlsocktype)]’:
./fanuc_post_processor_library/src/curlite.cpp:646:69: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = long int (*)(const void*, void*, int)]’:
./fanuc_post_processor_library/src/curlite.cpp:655:75: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = long int (*)(void*)]’:
./fanuc_post_processor_library/src/curlite.cpp:664:73: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = CURLcode (*)(void*, void*, void*)]’:
./fanuc_post_processor_library/src/curlite.cpp:673:73: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionFunctionPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = curl_slist*]’:
./fanuc_post_processor_library/src/curlite.cpp:880:54: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionObjectPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = std::nullptr_t]’:
./fanuc_post_processor_library/src/curlite.cpp:886:44: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionNullPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
[ 66%] Built target curlite_obj
Scanning dependencies of target curlite
Linking CXX shared library /home/dell/catkin_test/devel/lib/libcurlite.so
[ 66%] Built target curlite
In file included from ./fanuc_post_processor_library/include/fanuc_post_processor_library/fanuc_post_processor_library.hpp:9:0,
from ./fanuc_post_processor_library/src/fanuc_post_processor_library.cpp:1:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = long int]’:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:318:53: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionLongCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
static_assert( OptionTypeCode<ValueType>::value != OptionInvalidCode::value, "the type is not supported by curl_easy_setopt" );
^
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = const char*]’:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:328:40: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionObjectPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
[ 66%] Built target fanuc_post_processor_library_obj
Scanning dependencies of target fanuc_post_processor_library
Linking CXX shared library /home/dell/catkin_test/devel/lib/libfanuc_post_processor_library.so
[ 66%] Built target fanuc_post_processor_library
Scanning dependencies of target fanuc_post_processor_application
[100%] Building CXX object fanuc_post_processor/fanuc_post_processor_application/CMakeFiles/fanuc_post_processor_application.dir/src/fanuc_post_processor_application.cpp.o
In file included from ./fanuc_post_processor_library/include/fanuc_post_processor_library/fanuc_post_processor_library.hpp:9:0,
from ./fanuc_post_processor_application/src/fanuc_post_processor_application.cpp:1:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = long int]’:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:318:53: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionLongCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
static_assert( OptionTypeCode<ValueType>::value != OptionInvalidCode::value, "the type is not supported by curl_easy_setopt" );
^
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp: In instantiation of ‘bool curlite::Easy::set(CURLoption, ValueType) [with ValueType = const char*]’:
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:328:40: required from here
./fanuc_post_processor_library/include/fanuc_post_processor_library/curlite.hpp:298:57: warning: comparison between ‘enum curlite::OptionObjectPtrCode::<anonymous>’ and ‘enum curlite::OptionInvalidCode::<anonymous>’ [-Wenum-compare]
Linking CXX executable /home/dell/catkin_test/devel/lib/fanuc_post_processor_application/fanuc_post_processor_application