Boost C++ Libraries: Ticket #1451: error: use of C99 long long integer constant
https://svn.boost.org/trac10/ticket/1451
<p>
Hi,
</p>
<p>
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
</p>
<p>
Jens
</p>
en-usBoost C++ Libraries/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/1451
Trac 1.4.3John MaddockTue, 11 Dec 2007 09:47:37 GMTstatus changed
https://svn.boost.org/trac10/ticket/1451#comment:1
https://svn.boost.org/trac10/ticket/1451#comment:1
<ul>
<li><strong>status</strong>
<span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span>
</li>
</ul>
<p>
The use of long long is deliberate: I really do need 64-bit integer constants in those cases.
</p>
<p>
However, I will try and find a workaround - but not for the 1.35 release.
</p>
<p>
John.
</p>
TicketJohn MaddockMon, 29 Dec 2008 17:56:07 GMTstatus changed; resolution set
https://svn.boost.org/trac10/ticket/1451#comment:2
https://svn.boost.org/trac10/ticket/1451#comment:2
<ul>
<li><strong>status</strong>
<span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span>
</li>
<li><strong>resolution</strong>
→ <span class="trac-field-new">fixed</span>
</li>
</ul>
<p>
(In <a class="changeset" href="https://svn.boost.org/trac10/changeset/50403" title="Split test_policy_2.cpp into multiple smaller tests.
Fix use of long ...">[50403]</a>) Split test_policy_2.cpp into multiple smaller tests.
Fix use of long long so that code compiles with g++ -pedantic.
Update docs to match.
Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1451" title="#1451: Bugs: error: use of C99 long long integer constant (closed: fixed)">#1451</a>.
</p>
TicketanonymousThu, 19 Feb 2009 13:54:36 GMT
<link>https://svn.boost.org/trac10/ticket/1451#comment:3 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1451#comment:3</guid>
<description>
<p>
Is the bug-fix already incorporated into the stable release?
</p>
<p>
Because with boost 1.38, I get similar warnings (but in a different header):
</p>
<p>
[...]/boost_1_38_0/boost/integer_traits.hpp:164:66: warning: use of C99 long long integer constant
</p>
<p>
[...]/boost_1_38_0/boost/integer_traits.hpp:164:77: warning: use of C99 long long integer constant
</p>
<p>
[...]/boost_1_38_0/boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant
</p>
<p>
[...]/boost_1_38_0/boost/integer_traits.hpp:170:70: warning: use of C99 long long integer constant
</p>
<p>
Or are the warnings completely unrelated to the error filed here?
</p>
</description>
<category>Ticket</category>
</item>
<item>
<dc:creator>anonymous</dc:creator>
<pubDate>Sun, 25 Oct 2009 09:34:19 GMT</pubDate>
<title>status changed; resolution deleted
https://svn.boost.org/trac10/ticket/1451#comment:4
https://svn.boost.org/trac10/ticket/1451#comment:4
<ul>
<li><strong>status</strong>
<span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span>
</li>
<li><strong>resolution</strong>
<span class="trac-field-deleted">fixed</span>
</li>
</ul>
Ticketmloskot <mateusz@…>Mon, 26 Oct 2009 09:57:03 GMTcc changed
https://svn.boost.org/trac10/ticket/1451#comment:5
https://svn.boost.org/trac10/ticket/1451#comment:5
<ul>
<li><strong>cc</strong>
<span class="trac-author">mateusz@…</span> added
</li>
</ul>
TicketJohn MaddockThu, 28 Jan 2010 17:59:03 GMTstatus changed; resolution set
https://svn.boost.org/trac10/ticket/1451#comment:6
https://svn.boost.org/trac10/ticket/1451#comment:6
<ul>
<li><strong>status</strong>
<span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span>
</li>
<li><strong>resolution</strong>
→ <span class="trac-field-new">fixed</span>
</li>
</ul>
<p>
That's an unrelated issue, but will be fixed in the next release.
</p>
TicketanonymousFri, 07 May 2010 15:57:29 GMT
<link>https://svn.boost.org/trac10/ticket/1451#comment:7 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1451#comment:7</guid>
<description>
<p>
[...]/boost_1_38_0/boost/integer_traits.hpp:164:66: warning: use of C99 long long integer constant
<a class="ext-link" href="http://www.jg02.com/rosetta-stone-version-3-french-level-1-2-3-set-p-10.html/"><span class="icon"></span>rosetta stone french</a>
</p>
</description>
<category>Ticket</category>
</item>
</channel>
</rss>