#1451 closed Bugs (fixed)
error: use of C99 long long integer constant
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | math |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: | jensseidel@…, mateusz@… |
Description
Hi,
Boost.Math uses a lot of long long in C++ code which is invalid. g++ complains using -pedantic: boost/math/special_functions/lanczos.hpp|430 col 11| error: use of C99 long long integer constant
Jens
Change History (7)
comment:1 by , 15 years ago
Status: | new → assigned |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 14 years ago
Is the bug-fix already incorporated into the stable release?
Because with boost 1.38, I get similar warnings (but in a different header):
[...]/boost_1_38_0/boost/integer_traits.hpp:164:66: warning: use of C99 long long integer constant
[...]/boost_1_38_0/boost/integer_traits.hpp:164:77: warning: use of C99 long long integer constant
[...]/boost_1_38_0/boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant
[...]/boost_1_38_0/boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant
Or are the warnings completely unrelated to the error filed here?
comment:4 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:5 by , 13 years ago
Cc: | added |
---|
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
That's an unrelated issue, but will be fixed in the next release.
comment:7 by , 12 years ago
[...]/boost_1_38_0/boost/integer_traits.hpp:164:66: warning: use of C99 long long integer constant rosetta stone french
The use of long long is deliberate: I really do need 64-bit integer constants in those cases.
However, I will try and find a workaround - but not for the 1.35 release.
John.