https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124459

--- Comment #1 from d7d1cd <d7d1cd at mail dot ru> ---
Sorry, I didn't attach the compiler output with the warning. Here it is:
   $ g++ -std=c++26 -fmodules -c main.cc -Wall 
   In module M, imported at main.cc:1:
   module.ixx: In instantiation of ‘void foo@M(T) [with T = int]’:
   main.cc:3:8:   required from here
      3 |     foo(42);
         |     ~~~^~~~
   module.ixx:15:16: warning: suggest parentheses around comparison in operand
of ‘!=’ [-Wparentheses]
      15 |     if (Type() <= a); \
         |                ^
   module.ixx:22:5: note: in expansion of macro ‘FOO’
      22 |     FOO(t != 0);
         |     ^~~

Reply via email to