[Top][All Lists]

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

Use of undefined macro in libc-config.h

From: Tim Rühsen
Subject: Use of undefined macro in libc-config.h
Date: Tue, 12 Sep 2017 12:37:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

MinGW tells me

In file included from ../lib/glob.h:24:0,
                 from options.c:50:
../lib/libc-config.h:49:65: warning: "__GNUC_MINOR" is not defined [-Wundef]
 #  define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <=
../lib/cdefs.h:41:6: note: in expansion of macro '__GNUC_PREREQ'
 # if __GNUC_PREREQ (4, 6) && !defined _LIBC

The fix seems trivial, but I am unsure *why* __GNUC_MINOR isn't defined.
I would expect that from any gcc derivative (x86_64-w64-mingw32-gcc / -cpp).

What do you say ?

With Best Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]