Whisker Menu an alternate application launcher for Xfce
Landry Breuil
landry.breuil at gmail.com
Wed Jun 26 19:00:04 CEST 2013
Le 26 juin 2013 01:36, "Graeme Gott" <graeme at gottcode.org> a écrit :
>
> On 06/25/2013 05:30 PM, Liviu Andronic wrote:
> > Dear Graeme,
> >
> >
> > On Mon, Jun 24, 2013 at 8:23 PM, Landry Breuil <landry.breuil at gmail.com>
wrote:
> >>>>> make (5892)
> >>>> Scanning dependencies of target whiskermenu
> >>>> [ 5%] Building CXX object
> >>>> src/CMakeFiles/whiskermenu.dir/applications_page.cpp.o
> >>>> cc1plus: error: unrecognized command line option ‘-std=c++11’
> >>>> make[2]: *** [src/CMakeFiles/whiskermenu.dir/applications_page.cpp.o]
> >>>> Error 1
> >>>> make[1]: *** [src/CMakeFiles/whiskermenu.dir/all] Error 2
> >>>> make: *** [all] Error 2
> >>>>> make (5892) returned '2'
> >>>>
> >>> The problem likely comes from an outdated C++11 package (version 4.6
> >>> here). It should be >= v4.7:
> >>>
> >>>
http://stackoverflow.com/questions/14674597/cc1plus-error-unrecognized-command-line-option-std-c11-with-g
> >>
> >> The problem is forcing the use of c++11 in a simple panel plugin.
Unless
> >> there's a real reason, it's nicer to stick to regular c99 or c++...
> >>
> > Would it be possible to relax this requirement, so that people on
> > Ubuntu Precise could use your plugin?
>
> Unfortunately there is a bug in the GCC 4.6 (the compiler of Ubuntu
> Precise) and the released version of my plugin doesn't work with it even
> if you relax it to -std=c++0x. I will be making a bugfix release in the
> next few days that works on Ubuntu Precise (and PPA packages for it as
> well).
Sorry to insist on that, but why forcing the use of c++0x or c++11 over
potential users who cant easily find compatible compilers ? Why not
"downgrading" the code to be regular c++ ? Think of the ones using older
debian/ubuntu stable, or the BSDs who stick to GPLv2 gcc 4.2 until a better
solution is found ?
Landry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20130626/4878f60a/attachment.html>
More information about the Xfce
mailing list