I'm testing on the GCC Compile Farm and GCC119. GCC119 is a AIX machine with the xlC 13.1 compiler. I know very little about the platform and compiler.
When I build under xlC:
$ CXX=xlC gmake CXXFLAGS="-DNDEBUG -g2 -O3 -qrtti" -j 8
xlC -DNDEBUG -g2 -O3 -qrtti -c cryptlib.cpp
xlC -DNDEBUG -g2 -O3 -qrtti -c cpu.cpp
...
xlC -DNDEBUG -g2 -O3 -qrtti -c hmac.cpp
1500-036: (I) The NOSTRICT option (default at OPT(3)) has the potential to alter the
semantics of a program. Please refer to documentation on the STRICT/NOSTRICT option
for more information.
...
The IBM manual for the compiler is located at Compiler Reference v13.1. It does not mention STRICT
or NOSTRICT
. The closest it comes based on a keyword search is a discussion of __C99_RESTRICT
when -qkeyword=restrict
is in effect. Additionally, there are no man pages:
$ man NOSTRICT
Manual entry for NOSTRICT not found or not installed.
$ man 3 NOSTRICT
There is not an entry for NOSTRICT in section 3.
$ man STRICT
Manual entry for STRICT not found or not installed.
$ man 3 STRICT
There is not an entry for STRICT in section 3.
$ man OPT
Manual entry for OPT not found or not installed.
$ man 3 OPT
There is not an entry for OPT in section 3.
When I compile with -qflag=w
the warnings go away, so I have even less information to work with. (The library and program compiles cleanly with -qflag=w
).
I have two questions. First, what exactly is xlC complaining about? Second, is there an option to have xlC tell me the source file and line number it is complaining about?