Hi Pasquale Am 17.09.2014 um 17:42 schrieb [email protected]:> Hi all, > > I have seen in the install.txt file that to remove this problem i have to > perform the command with the option -DIGNORE_UNPROTOTYPED_CALLS=1. > I had the same problems on openSUSE
Find the file CMakeLists.txt
Now look for the line:
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS}
-Wall -D_BSD_SOURCE -D_ISOC99_SOURCE -D_SVID_SOURCE -D_FILE_OFFSET_BITS=64")
replace it with the following one, or add -Wno-error=unprototyped-calls
to the line:
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS}
-Wall -Wno-error=unprototyped-calls -D_BSD_SOURCE -D_ISOC99_SOURCE
-D_SVID_SOURCE -D_FILE_OFFSET_BITS=64")
This should silence the warnings and the code should compile.
BR
Dustin
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
