On 08/26/2011 09:03 PM, no-re...@cfengine.com wrote: > I tried the -Agcc compiler option to enable GNU C dialect compatibility and > now the build bombs with
... > Making all in pub > CC getopt.lo > cc: error 1914: bad form for `-W' option -Agcc makes compiler look too much like gcc, so configure enables gcc-specific flags :) Could you try to remove GCC_CFLAG="-g -Wreturn-type -Wmissing-prototypes" case "$CFLAGS" in "-O"*|*" -O"*) GCC_CFLAG="$GCC_CFLAG -Wuninitialized" ;; esac lines from configure and try to configure and run again? If it works, could you help me to figure out how to detect real gcc and aC gcc emulator and only enable warning flags for the former? -- Mikhail Gusarov Software Engineer CFEngine AS Nydalsveien 33 0484 Oslo _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine