Execution Time2.23s

Test: roottest-root-meta-genreflex-ROOT-5696-warnMe-libgen-build (Passed)
Build: master-x86_64-fedora31-gcc9 (root-fedora-31-1.cern.ch) on 2019-11-14 00:48:30

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Generating warnMe.cxx, warnMe.rootmap
input_line_8:50: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_8:50: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_8:50: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 /build/night/LABEL/ROOT-fedora31/SPEC/cxx17/V/master/build/roottest/root/meta/genreflex/ROOT-5696/warnMe.cxx:41:
/build/night/LABEL/ROOT-fedora31/SPEC/cxx17/V/master/roottest/root/meta/genreflex/ROOT-5696/warnMe.h: In member function ‘int A::returnInt(int)’:
/build/night/LABEL/ROOT-fedora31/SPEC/cxx17/V/master/roottest/root/meta/genreflex/ROOT-5696/warnMe.h:15:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   15 |    int returnInt (int i) { int a=12; if (a=12) return a*i; else return 0; }
      |                                          ~^~~
Linking CXX shared library libwarnMe_dictrflx.so