Execution Time2.23s

Test: roottest-root-meta-genreflex-ROOT-5696-warnMe-libgen-build (Passed)
Build: v6-18-00-patches-x86_64-ubuntu16-gcc54-opt (sft-ubuntu-1604-4) on 2019-11-14 00:46:47
Repository revision: 869553a4dd0f00a0fc618d6e9d1fbdd66c820707

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Generating warnMe.cxx, warnMe.rootmap
input_line_9:83:43: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   int returnInt (int i) { int a=12; if (a=12) return a*i; else return 0; }
                                         ~^~~
input_line_9:83:43: note: place parentheses around the assignment to silence this warning
   int returnInt (int i) { int a=12; if (a=12) return a*i; else return 0; }
                                          ^
                                         (   )
input_line_9:83:43: note: use '==' to turn this assignment into an equality comparison
   int returnInt (int i) { int a=12; if (a=12) return a*i; else return 0; }
                                          ^
                                          ==
Building CXX object roottest/root/meta/genreflex/ROOT-5696/CMakeFiles/roottest-root-meta-genreflex-ROOT-5696-warnMe-libgen.dir/warnMe.cxx.o
In file included from /mnt/build/night/LABEL/ROOT-ubuntu16/SPEC/cxx14/V/6-18/build/roottest/root/meta/genreflex/ROOT-5696/warnMe.cxx:41:0:
/mnt/build/night/LABEL/ROOT-ubuntu16/SPEC/cxx14/V/6-18/roottest/root/meta/genreflex/ROOT-5696/warnMe.h: In member function ‘int A::returnInt(int)’:
/mnt/build/night/LABEL/ROOT-ubuntu16/SPEC/cxx14/V/6-18/roottest/root/meta/genreflex/ROOT-5696/warnMe.h:15:46: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    int returnInt (int i) { int a=12; if (a=12) return a*i; else return 0; }
                                              ^
Linking CXX shared library libwarnMe_dictrflx.so