Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3548: Comeau C++ reports global scope has no int64_t
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-22 20:50:49
#3548: Comeau C++ reports global scope has no int64_t
------------------------------------------+---------------------------------
Reporter: mloskot <mateusz@â¦> | Owner: dlwalker
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: integer
Version: Boost Development Trunk | Severity: Problem
Keywords: comeau,como |
------------------------------------------+---------------------------------
Comment(by mloskot <mateusz@â¦>):
John,
I can confirm that the simple test ''bad.cpp'' which uses
<boost/cstdint.hpp> does compile with your patch:
{{{
mloskot_at_vb-ubuntu904:~/dev/boost/tickets/3548$ cat bad.cpp
#include <sys/types.h>
#include <boost/cstdint.hpp>
int main()
{
boost::int64_t a(0);
return 0;
}
mloskot_at_vb-ubuntu904:~/dev/boost/tickets/3548$ como
-I/home/mloskot/dev/boost/_svn/trunk bad.cpp
Comeau C/C++ 4.3.10.1 (May 7 2008 12:23:21) for LINUX_INTEL_ELF_Beta
Copyright 1988-2008 Comeau Computing. All rights reserved.
MODE:non-strict warnings C++ noC++0x_extensions
"bad.cpp", line 5: warning: variable "a" was declared but never referenced
boost::int64_t a(0);
^
}}}
Also, big thanks for your comment to the glibc bugzilla. I will forward
Ulrich's explanation about requirement of ''_ _ GLIBC_HAVE_LONG_LONG'' to
Comeau team as it may be of their interest indeed.
So, do you think it's possible to apply your patch to the Boost trunk? It
would make it possible to move forward with testing Boost using Comeau.
Thanks you!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3548#comment:8> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC