tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libgmp: duplicate symbol



On 14.12.12 14:46, David Laight wrote:

On Fri, Dec 14, 2012 at 11:11:16AM +0100, Christoph Egger wrote:
On Thu, Dec 13, 2012 at 09:42:29PM +0100, Christoph Egger wrote:
Do you think upstream would accept this?

Ask them?
...
  #ifdef __GNUC__
-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4&&  __GNUC_MINOR__ == 2)
+#if (defined __GNUC_STDC_INLINE__) || \
+    (__GNUC__ == 4&&  __GNUC_MINOR__>= 2) || (__GNUC__>  4)

Isn't there a define that is (__GNUC__ * 1000 + __GNUC_MINOR__) ?
or similar - for those sorts of checks.


I don't know.

Christoph


Home | Main Index | Thread Index | Old Index