[patch] [solved] build failure

Terrence Enger tenger at iseries-guru.com
Mon May 5 22:54:21 PDT 2014


gcc (Debian 4.7.2-5) 4.7.2 on debian-wheezy just choked on
sfx2/source/control/querystatus.cxx ...

    /home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx: In member function ‘virtual void SfxQueryStatus_Impl::statusChanged(const com::sun::star::frame::FeatureStateEvent&)’:
    /home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:138:41: error: ‘<::’ cannot begin a template-argument list [-fpermissive]
    /home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:138:41: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
    /home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:138:41: note: (if you use ‘-fpermissive’ G++ will accept your code)
    /home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:145:41: error: ‘<::’ cannot begin a template-argument list [-fpermissive]
    /home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:145:41: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’

Wow, aren't triglyphs fun?  It is years since I last thought about
them.

With the change as per attached diff, the build is continuing.

HTH,
Terry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_20140506a
Type: text/x-patch
Size: 1063 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140506/7fe34261/attachment.bin>


More information about the LibreOffice mailing list