On 12/02/2017 16:46, Antonio Diaz Diaz wrote:
Michael Felt wrote:
So, calling it as you recommend - still get unworkable CXXFLAGS (-W
means something different for xlc++)
Thanks for reporting this. Until now all compilers reported accepted
-W. I have now removed -W from the default CXXFLAGS for non-g++
compilers. The other option (-O) is POSIX, so I guess it is OK.
FYI:
-O2 is the recommended "safe" optimization setting for xlc(++), -O3 can
make some changes to increase optimizations (make check become more
important). My understanding is that -O3 is the gcc equivalent of xlc -O2.
If I understand correctly - for gcc -W is to report all warning
messages. The default setting for xlc (report all: info, warn, syntax
(error)) messages.
I usually redirect stdout to a file and only see warning and error
messages on stderr.
Thanks,
Antonio.
_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug
_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug