[Boost-bugs] [Boost C++ Libraries] #10741: Invalid conversion in alloc_lib.c

Subject: [Boost-bugs] [Boost C++ Libraries] #10741: Invalid conversion in alloc_lib.c
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-03 21:44:48


#10741: Invalid conversion in alloc_lib.c
-------------------------------------------+-------------------------
 Reporter: Jared Szechy <jared.szechy@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.56.0 | Severity: Showstopper
 Keywords: |
-------------------------------------------+-------------------------
 I get the following compile error when building on CentOS 5.10
 {{{
 gcc.compile.c bin.v2/libs/container/build/gcc-4.1.2/release/link-static
 /threading-multi/alloc_lib.o
 /usr/include/bits/string2.h: In function ‘char* __strpbrk_c2(const char*,
 int, int)’:
 /usr/include/bits/string2.h:1129: error: invalid conversion from ‘void*’
 to ‘char*’
 /usr/include/bits/string2.h: In function ‘char* __strpbrk_c3(const char*,
 int, int, int)’:
 /usr/include/bits/string2.h:1142: error: invalid conversion from ‘void*’
 to ‘char*’
 /usr/include/bits/string2.h: In function ‘char* __strtok_r_1c(char*, char,
 char**)’:
 /usr/include/bits/string2.h:1182: error: invalid conversion from ‘void*’
 to ‘char*’
 /usr/include/bits/string2.h: In function ‘char* __strsep_2c(char**, char,
 char)’:
 /usr/include/bits/string2.h:1245: error: invalid conversion from ‘void*’
 to ‘char*’
 /usr/include/bits/string2.h: In function ‘char* __strsep_3c(char**, char,
 char, char)’:
 /usr/include/bits/string2.h:1273: error: invalid conversion from ‘void*’
 to ‘char*’

     "g++" -x c -O3 -finline-functions -Wno-inline -Wall -pthread
 -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTAINER_STATIC_LINK=1 -DNDEBUG -I"." -c -o
 "bin.v2/libs/container/build/gcc-4.1.2/release/link-static/threading-
 multi/alloc_lib.o" "libs/container/src/alloc_lib.c"
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10741>
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:17 UTC