You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Jeremy Dean <Je...@roguewave.com> on 2008/06/18 18:19:05 UTC
question on Warning on AIX
I have a customer that is getting hundrends of warnings like this. The
customer is checking to make sure that these are nothing to be concerned
about or how to resolve the warnings:
"/usr/local/rogue/RogueWave/SourcePro/Ed10/include/loc/_num_get.cc",
line 126.22: 1540-0840 (W) The integer literal "0x7fffffffffffffffL" is
out of range.
"/usr/local/rogue/RogueWave/SourcePro/Ed10/include/streambuf", line
179.25: 1540-0840 (W) The integer literal "0x7fffffffffffffffL" is out
of range.
Thanks,
Jeremy
Re: question on Warning on AIX
Posted by Martin Sebor <se...@roguewave.com>.
Jeremy Dean wrote:
> I have a customer that is getting hundrends of warnings like this. The
> customer is checking to make sure that these are nothing to be concerned
> about or how to resolve the warnings:
What version of the compiler is the customer using?
As Farid says, a possible explanation is that they're using a mismatched
config file, one generated by a 64-bit invocation of the compiler, while
doing a 32-bit build. Perhaps they did two builds of stdcxx in the same
build directory, one for 32 bits and another for 64 bits, and the latter
overwrote the former build's config file?
Martin
>
> "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/loc/_num_get.cc",
> line 126.22: 1540-0840 (W) The integer literal "0x7fffffffffffffffL" is
> out of range.
> "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/streambuf", line
> 179.25: 1540-0840 (W) The integer literal "0x7fffffffffffffffL" is out
> of range.
>
>
> Thanks,
>
> Jeremy
>
>
RE: question on Warning on AIX
Posted by Eric Lemings <Er...@roguewave.com>.
Could be an error in a configuration test.
Is this a 32-bit or 64-bit machine? How about the build?
What are his/her configured values for _RWSTD_INT_MAX and
_RWSTD_PTRDIFF_MAX from $BUILDDIR/include/config.h?
Brad.
> -----Original Message-----
> From: Jeremy Dean [mailto:Jeremy.Dean@roguewave.com]
> Sent: Wednesday, June 18, 2008 10:19 AM
> To: dev@stdcxx.apache.org
> Subject: question on Warning on AIX
>
> I have a customer that is getting hundrends of warnings like
> this. The
> customer is checking to make sure that these are nothing to
> be concerned
> about or how to resolve the warnings:
>
> "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/loc/_num_get.cc",
> line 126.22: 1540-0840 (W) The integer literal
> "0x7fffffffffffffffL" is
> out of range.
> "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/streambuf", line
> 179.25: 1540-0840 (W) The integer literal "0x7fffffffffffffffL" is out
> of range.
>
>
> Thanks,
>
> Jeremy
>
>
RE: question on Warning on AIX
Posted by Eric Lemings <Er...@roguewave.com>.
> -----Original Message-----
> From: Farid Zaripov [mailto:Farid_Zaripov@epam.com]
> Sent: Wednesday, June 18, 2008 10:35 AM
> To: dev@stdcxx.apache.org
> Subject: RE: question on Warning on AIX
>
> > -----Original Message-----
> > From: Jeremy Dean [mailto:Jeremy.Dean@roguewave.com]
> > Sent: Wednesday, June 18, 2008 7:19 PM
> > To: dev@stdcxx.apache.org
> > Subject: question on Warning on AIX
> >
> > I have a customer that is getting hundrends of warnings like
> > this. The customer is checking to make sure that these are
> > nothing to be concerned about or how to resolve the warnings:
> >
> > "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/loc/_num_get.cc",
> > line 126.22: 1540-0840 (W) The integer literal
> > "0x7fffffffffffffffL" is out of range.
> > "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/streambuf", line
> > 179.25: 1540-0840 (W) The integer literal
> > "0x7fffffffffffffffL" is out of range.
>
> Perhaps he compiling 32-bit (ILP32) program with using config.h
> generated for 64-bit (LP64) library?
I've seen other projects/packages put details about the target
environment (hostname, OS, build type, etc.) right inside the
configuration header. It's possible we could do something similar
and then use these details to generate errors/warnings when the
details don't match.
Brad.
RE: question on Warning on AIX
Posted by Farid Zaripov <Fa...@epam.com>.
> -----Original Message-----
> From: Jeremy Dean [mailto:Jeremy.Dean@roguewave.com]
> Sent: Wednesday, June 18, 2008 7:19 PM
> To: dev@stdcxx.apache.org
> Subject: question on Warning on AIX
>
> I have a customer that is getting hundrends of warnings like
> this. The customer is checking to make sure that these are
> nothing to be concerned about or how to resolve the warnings:
>
> "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/loc/_num_get.cc",
> line 126.22: 1540-0840 (W) The integer literal
> "0x7fffffffffffffffL" is out of range.
> "/usr/local/rogue/RogueWave/SourcePro/Ed10/include/streambuf", line
> 179.25: 1540-0840 (W) The integer literal
> "0x7fffffffffffffffL" is out of range.
Perhaps he compiling 32-bit (ILP32) program with using config.h
generated for 64-bit (LP64) library?
Farid.