ValhallaTeam / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Compile warning on Linux in ExpressionParser.cpp with GCC4.6 #400

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compiling angle for Chromium on Linux:

../../third_party/angle/src/compiler/preprocessor/ExpressionParser.cpp:90:32: 
warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

This is appearing since the change r1640 was rolled in to Chrome at r175169.

This depends on a flag that exists only for GCC 4.7+ (-Wmaybe-uninitialized), 
so compiling
with GCC 4.6.* you will see the warning.

It would be nice to compile without such warnings.

Original issue reported on code.google.com by kochi@chromium.org on 18 Jan 2013 at 8:55

GoogleCodeExporter commented 9 years ago
This should be fixed in r1831

Original comment by z...@google.com on 27 Feb 2013 at 5:46

GoogleCodeExporter commented 9 years ago
Thanks for fixing!

Original comment by kochi@chromium.org on 28 Feb 2013 at 1:30