Whisker Menu an alternate application launcher for Xfce
Landry Breuil
landry.breuil at gmail.com
Wed Jun 26 19:42:48 CEST 2013
Le 26 juin 2013 19:36, "Graeme Gott" <graeme at gottcode.org> a écrit :
>
> On 06/26/2013 01:00 PM, Landry Breuil 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 ?
>
> I am converting it to C++98 after seeing the huge response the plugin
> has gotten, but that will be in the next feature release instead of a
> bugfix release because it requires changing basically every single file.
> Whisker Menu is C++11 only because it started out as a pet project and I
> really wasn't expecting this much interest in it when I made it public.
Awesome ! Many thanks !
Landry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20130626/0e46ac6b/attachment-0001.html>
More information about the Xfce
mailing list