Failure to build revision 2180

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Failure to build revision 2180

Damyan Ivanov-5
Hi,

Trying to upgrade the flamerobin Debian package to trunk (r2180), the
build failed with:

 g++ -c -o flamerobin_Config.o -I./.pch/flamerobin -DHAVE_FRCONFIG_H  
 -DIBPP_LINUX -I. -I./src -I./src/ibpp -I./res
 -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
 -DWX_PRECOMP -g -O2 ./src/config/Config.cpp
 ./src/config/Config.cpp: In member function 'const wxString
 FRConfig::getSysTemplateFileName(const wxString&)':
 ./src/config/Config.cpp:413:39: error: cannot pass objects of
 non-trivially-copyable type 'class wxString' through '...'
 make[1]: *** [flamerobin_Config.o] Error 1

GCC 4.6.0 on amd64.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Flamerobin-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/flamerobin-devel

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [patch] Failure to build revision 2180

Damyan Ivanov-5
-=| Damyan Ivanov, Sun, May 29, 2011 at 04:11:03PM +0300 |=-

> Trying to upgrade the flamerobin Debian package to trunk (r2180),
> the build failed with:
>
>  g++ -c -o flamerobin_Config.o -I./.pch/flamerobin -DHAVE_FRCONFIG_H  
>  -DIBPP_LINUX -I. -I./src -I./src/ibpp -I./res
>  -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
>  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
>  -DWX_PRECOMP -g -O2 ./src/config/Config.cpp
>  ./src/config/Config.cpp: In member function 'const wxString
>  FRConfig::getSysTemplateFileName(const wxString&)':
>  ./src/config/Config.cpp:413:39: error: cannot pass objects of
>  non-trivially-copyable type 'class wxString' through '...'
>  make[1]: *** [flamerobin_Config.o] Error 1
>
> GCC 4.6.0 on amd64.
The attached patch converts the argument to C string and seems to fix
the problem -- the build completes and the resulting binary seems to
run fine.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Flamerobin-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/flamerobin-devel

no-copy-dotdotdot-wxString.patch (625 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [patch] Failure to build revision 2180

Nando Dessena
Damyan,

> The attached patch converts the argument to C string and seems to fix
> the problem -- the build completes and the resulting binary seems to
> run fine.

I think Michael already fixed this in #2181.
--
Nando Dessena


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Flamerobin-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/flamerobin-devel