Opened 13 years ago

Closed 12 years ago

#4074 closed Bugs (wontfix)

compile-time warning: integer overflow in /spirit/home/support/detail/lexer/consts.hpp

Reported by: anonymous Owned by: Hartmut Kaiser
Milestone: Boost 1.43.0 Component: spirit
Version: Boost 1.42.0 Severity: Problem
Keywords: spirit.lexer consts.hpp overflow Cc:

Description

The following error message:

from lex_lexertl.cpp:21:

/home/evansl/prog_dev/boost-svn/ro/trunk/boost/spirit/home/support/detail/lexer/partition/../consts.hpp:29: warning: integer overflow in expression

is produced by the gcc4.4 compiler when the attachment is compiled.

Attachments (1)

lex_lexertl.cpp (1.9 KB ) - added by cppljevans@… 13 years ago.
simply #include boost/spirit/include/lex_lexertl.hpp>

Download all attachments as: .zip

Change History (6)

by cppljevans@…, 13 years ago

Attachment: lex_lexertl.cpp added

simply #include boost/spirit/include/lex_lexertl.hpp>

comment:1 by Daniel James, 13 years ago

(In [61117]) Try to avoid a warning on Visual C++ with stlport. Refs #4074

It would be better to use more consistent types.

comment:2 by Steven Watanabe, 13 years ago

Component: Nonespirit
Owner: set to Joel de Guzman

comment:3 by anonymous, 13 years ago

Owner: changed from Joel de Guzman to Hartmut Kaiser

comment:4 by Hartmut Kaiser, 13 years ago

That's a completly harmless (if not bogus) warning I have no idea how to silence. Any suggestions?

Regards Hartmut

comment:5 by Hartmut Kaiser, 12 years ago

Resolution: wontfix
Status: newclosed

As said, the warning is harmless

Note: See TracTickets for help on using tickets.