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++ » UppHub » Functions4U doesn't compile anymore
Functions4U doesn't compile anymore [message #39524] Mon, 25 March 2013 22:52 Go to next message
Didier is currently offline  Didier
Messages: 671
Registered: November 2008
Location: France
Contributor
Hi Koldo,

I just noticed that Functions4U does not compile anymore because some functions have recently been added in Core/Defs.h

template <class T> inline const T& min(const T& a, const T& b, const T& c)
{ return min(a, min(b, c)); }
template <class T> inline const T& min(const T& a, const T& b, const T& c, const T& d)
{ return min(min(a, b), min(c, d)); }

template <class T> inline const T& max(const T& a, const T& b, const T& c)
{ return max(a, max(b, c)); }
template <class T> inline const T& max(const T& a, const T& b, const T& c, const T& d)
{ return max(max(a, b), max(c, d)); }


These functions also exist in Functions4U.h

[Updated on: Mon, 25 March 2013 22:57]

Report message to a moderator

Re: Functions4U doesn't compile anymore [message #39526 is a reply to message #39524] Tue, 26 March 2013 09:48 Go to previous messageGo to next message
BioBytes is currently offline  BioBytes
Messages: 302
Registered: October 2008
Location: France
Senior Member
Hi Didier and Koldo, Razz

I face the same problem than Didier under Linux Ubuntu 12.10. The compiler stops at the same line describing template in line functions.

AFAIK there is no such issue under Win 7 and MSC9.

Regards

Biobytes

[Updated on: Tue, 26 March 2013 11:50]

Report message to a moderator

Re: Functions4U doesn't compile anymore [message #39582 is a reply to message #39526] Tue, 02 April 2013 08:37 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Hello Didier and BioBytes

Sorry for this. It happened when I was on Easter holiday Rolling Eyes . It is now solved.


Best regards
Iñaki
Re: Functions4U doesn't compile anymore [message #39595 is a reply to message #39582] Wed, 03 April 2013 09:58 Go to previous messageGo to next message
BioBytes is currently offline  BioBytes
Messages: 302
Registered: October 2008
Location: France
Senior Member
Hello Koldo,

Thank you very much for the modifications. All is working perfectly now under Win7. Still the same issue under Linux Ubuntu 12.10. Sure we should pass the information to Honza.

Hope you got a nice Eastern week-end (not too much chocolate Very Happy )

Regards
Biobytes
Re: Functions4U doesn't compile anymore [message #39596 is a reply to message #39595] Wed, 03 April 2013 11:07 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1781
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

BioBytes wrote on Wed, 03 April 2013 09:58

Still the same issue under Linux Ubuntu 12.10. Sure we should pass the information to Honza.

Did I miss something? Smile

Honza
Re: Functions4U doesn't compile anymore [message #39597 is a reply to message #39596] Wed, 03 April 2013 11:18 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3268
Registered: August 2008
Senior Veteran
Hello Honza

I think BioBytes has separate sources for Linux and Windows, so for Linux he depends on your Launchpad update.

No change is necessary Smile


Best regards
Iñaki
Re: Functions4U doesn't compile anymore [message #39603 is a reply to message #39597] Wed, 03 April 2013 20:12 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 671
Registered: November 2008
Location: France
Contributor
Ki Koldo,

Thank's for the corrections.

Re: Functions4U doesn't compile anymore [message #39607 is a reply to message #39603] Wed, 03 April 2013 21:43 Go to previous message
BioBytes is currently offline  BioBytes
Messages: 302
Registered: October 2008
Location: France
Senior Member
Hello Honza,

Yes I use separate sources for my Win7 and Quantal Ubuntu systems. I just updated my Linux Upp to 5944 version and now the Control_4U demo application compiles perfectly.

Thank you very much Honza for the Linux modifications about the template functions in Functions4U library.

Regards

Biobytes
Previous Topic: How to use RasterCtrl for image created with BufferPainter
Next Topic: StaticImage enhancement
Goto Forum:
  


Current Time: Thu Oct 21 06:38:33 CEST 2021

Total time taken to generate the page: 0.02161 seconds