Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213142

Summary: dev-util/nsis-2.35 fails building with sys-devel/gcc-4.3
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] GCC PortingAssignee: Alin Năstac (RETIRED) <mrness>
Status: RESOLVED FIXED    
Severity: normal CC: cedk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: build.log

Description Dennis Schridde 2008-03-12 13:45:05 UTC
Conversion from std::string to const char* in Source/util.cpp. log attached

Reproducible: Always

Steps to Reproduce:
Comment 1 Dennis Schridde 2008-03-12 13:45:20 UTC
Created attachment 145899 [details]
build.log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-12 13:47:27 UTC
<snip>
g++ -o build/release/Library/LibraryLocal/util.o -c -m32 -O2 -Wall -fno-strict-aliasing -Ibuild/release/Library/LibraryLocal -IContrib/Library/LibraryLocal Source/util.cpp
Source/util.cpp: In function 'std::string get_full_path(const std::string&)':
Source/util.cpp:377: error: cannot convert 'const std::basic_string<char, std::char_traits<char>, std::allocator<char> >' to 'const char*' for argument '1' to 'long int pathconf(const char*, int)'
Source/util.cpp: In function 'std::string lowercase(const std::string&)':
Source/util.cpp:471: error: no matching function for call to 'transform(__gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unresolved overloaded function type>)'
scons: *** [build/release/Library/LibraryLocal/util.o] Error 1
</snip>
Comment 3 SpanKY gentoo-dev 2008-04-20 09:32:50 UTC
should be fixed with nsis-2.36