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 » [Funtions4U] Double definition of MIN
[Funtions4U] Double definition of MIN [message #43306] Fri, 27 June 2014 10:39 Go to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
Hi, Koldo,

In bsdiff.cpp, there is a
#define MIN(x,y) (((x)<(y)) ? (x) : (y))

but this was already defined in /usr/include/glib-2.0/glib/gmacros.h (I'm using Linux Mint Maya, and have the same warning with Scientific Linux and CentOS. Probably the same with all Linux distros).

This is not a problem : the definition is similar. It's just causing a warning.

Probably, it's bad to remove this define, as in some case or other OS gmacros could not be included or not have this define. But probably you could add a #indef before ?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Time for a little cleanup ?
Next Topic: Zint Barcode Generator
Goto Forum:
  


Current Time: Thu Mar 28 23:18:14 CET 2024

Total time taken to generate the page: 0.01393 seconds