Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » 1538 compilation fails
Re: 1538 compilation fails [message #22932 is a reply to message #22931] Sat, 29 August 2009 22:05 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
g6b0r wrote on Sat, 29 August 2009 15:44

Hilo,

I have removed the inline keyword in RichTxt/TxtPaint.cpp:
inline void RichTxt::Sync(int parti, const RichContext& rc) const {

and it has been compiled and built successfully.

with 1540, on debian etch, gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Do you have guess why the inline keyword was a problem on my box?

Gabor



I think we can live without "inline" there, anyway, to my best knowledge of C++, it looks like fault of gcc.

Per standard, all inline functions should be also created in a form that is accepted by linker.

Never mind going to remove that inline.. Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Warning: RichText
Next Topic: Funny way how NOT to speedup sorting of small arrays
Goto Forum:
  


Current Time: Sun Jun 09 10:31:16 CEST 2024

Total time taken to generate the page: 0.02092 seconds