Opened 11 years ago
Closed 5 years ago
#6247 closed Bugs (obsolete)
Warning from boost/spirit/include/phoenix.hpp with g++ -c -W at -O1 and higher
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Compiling boost/spirit/include/phoenix.hpp with gcc -c -W produces a warning ("used uninitialized") at optimization levels of -O1 and higher. Without compiler optimization, i.e. -O0 or optimization flag omitted, no warning seen.
Problem seen in boost 1.47 and boost 1.48.
Attachments (1)
Change History (5)
by , 11 years ago
comment:1 by , 11 years ago
Summary: | Warning from boost/spirit/include/phoenix.hpp with gcc -c -W at -O1 and higher → Warning from boost/spirit/include/phoenix.hpp with g++ -c -W at -O1 and higher |
---|
comment:2 by , 9 years ago
I can confirm this issue on Boost 1.53. Btw: It was not there when using Boost 1.52
comment:3 by , 5 years ago
I am not sure if it was Phoenix of Fusion problem, but it rather fixed or gone as Phoenix V2 is no longer here since https://github.com/boostorg/spirit/commit/c0537c8251d04773a24bafdab8363b1cba350d07.
comment:4 by , 5 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sample code with problem output shown in comments.