Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381001 - dev-libs/boost-1.46.1-r1 - ./boost/archive/iterators/binary_from_base64.hpp:51:9: error: narrowing conversion of '-0x00000000000000001' from 'int' to 'const char' inside { }
Summary: dev-libs/boost-1.46.1-r1 - ./boost/archive/iterators/binary_from_base64.hpp:5...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL: https://svn.boost.org/trac/boost/tick...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2011-08-29 05:31 UTC by Anton Romanov
Modified: 2014-01-15 07:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Romanov 2011-08-29 05:31:02 UTC
libs/serialization/src/basic_text_iprimitive.cpp:25:   instantiated from here
./boost/archive/iterators/binary_from_base64.hpp:51: ошибка: narrowing conversion of ‘-0x00000000000000001’ from ‘int’ to ‘const char’ inside { }

upstream (resolved bug with accepted patch)
https://svn.boost.org/trac/boost/ticket/5507
Comment 1 Anton Romanov 2011-08-29 05:31:57 UTC
according to comment in upstream bug the fix will appear in 1.48 only so it would be nice to have that patch in gentoo before that
Comment 2 Sebastian Luther (few) 2011-08-29 05:50:31 UTC
Which combinations of gcc version, gcc command line options, arch is affect by this?
Comment 3 Seba 2011-09-15 22:21:21 UTC
I had the same Bug on:

dockstar ~ # uname -a
Linux dockstar 2.6.35.2-dockstar #12 PREEMPT Tue Nov 16 22:33:52 CET 2010 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux

dockstar ~ # gcc --version
gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dockstar ~ # g++ --version
g++ (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CFLAGS="-Os -march=armv5te  -pipe -fomit-frame-pointer"
CXXFLAGS="-std=gnu++0x -fvisibility-inlines-hidden ${CFLAGS}"
Comment 4 Sergey Popov gentoo-dev 2014-01-15 07:29:01 UTC
Fixed by upstream a long time ago