Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546252 - net-p2p/transmission: unrecognized command line option ‘-std=c++11’
Summary: net-p2p/transmission: unrecognized command line option ‘-std=c++11’
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal minor
Assignee: Samuli Suominen (RETIRED)
URL: http://pastebin.com/J9jV9Bvs
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-11 10:28 UTC by qinghao
Modified: 2015-10-03 18:59 UTC (History)
2 users (show)

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 qinghao 2015-04-11 10:28:21 UTC
cc1plus: error: unrecognized command line option ‘-std=c++11’
Makefile:524: recipe for target 'about.o' failed
make: *** [about.o] Error 1
make: *** Waiting for unfinished jobs....

$ gcc-config -l
 [1] i686-pc-linux-gnu-4.6.4 *
 [2] i686-pc-linux-gnu-4.8.3




error message was pasted here:
http://pastebin.com/JbkEScXx


emerge --info goes here:
http://pastebin.com/J9jV9Bvs

Reproducible: Always

Steps to Reproduce:
1. $ sudo vim /etc/portage/package.use/transmission 
net-p2p/transmission -c++11
2. sudo emerge transmission
3. got the c++11 option error
Actual Results:  
got the c++11 option error

Expected Results:  
the transmission got compiled without any error

$ sudo gcc-config 2 
set gcc to 4.8 transmission can be compiled.
Comment 1 Mike Gilbert gentoo-dev 2015-10-03 17:14:26 UTC
You need to use a newer version of gcc which supports C++11.