Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213142 - dev-util/nsis-2.35 fails building with sys-devel/gcc-4.3
Summary: dev-util/nsis-2.35 fails building with sys-devel/gcc-4.3
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
Depends on:
Blocks: gcc-4.3
  Show dependency tree
Reported: 2008-03-12 13:45 UTC by Dennis Schridde
Modified: 2008-04-20 09:32 UTC (History)
1 user (show)

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

build.log (build.log,23.50 KB, text/plain)
2008-03-12 13:45 UTC, Dennis Schridde

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-12 13:47:27 UTC
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
Comment 3 SpanKY gentoo-dev 2008-04-20 09:32:50 UTC
should be fixed with nsis-2.36