Re: MSVC generates errors with rules embedding 64-bit integer attribute

gillesb68 <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Please, take the new source code version from the following link: 
lex_qi_karma.cpp
<http://boost.2283326.n4.nabble.com/file/n4687981/lex_qi_karma.cpp>  .

I changed three things:

First, I added some lines on top of the “main” function, to proof that MSVC
differentiates “long” and “long long” types.

Second, I attempted the same tests with type definitions from “cstdint”.
Identical results with “std::int64_t” and “long long”.

Lastly, I modified the three components to process integers before reals, so
that the generator avoids converting “var2 = 455” to “var2 = 455.0”.




-----
Gilles
--
View this message in context: http://boost.2283326.n4.nabble.com/MSVC-generates-errors-with-rules-embedding-64-bit-integer-attribute-tp4687960p4687981.html
Sent from the spirit-general mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Spirit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.