Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
5.12.10, 6.2.3
-
None
-
macOs 12.1
Apple clang version 13.0.0
Description
Steps to reproduce:
1. Create a simple project.
2. Set the -pedantic option.
3. Use any of the QLoggingCategory macros (qCInfo, QCWarning ...) with the stream operator.
qCInfo( foo ) << "Hello, World!";
4. Compile
Expected Results: Clean compile output.
Actual Results: -Wgnu-zero-variadic-macro-arguments warning is fired
warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
Notes: You can use the attached sample to reproduce the issue.