From: YuGiOhJCJ Mailing-List <yugiohjcj-mailinglist@laposte.net>
To: gcc-help@gcc.gnu.org
Subject: error: 'LDBL_MIN_EXP' undeclared
Date: Thu, 07 Aug 2014 00:34:00 -0000 [thread overview]
Message-ID: <20140807023433.b3c167480b7dc1e1a9cde717@laposte.net> (raw)
Hello,
I am building a cross compiler (linux 32 bits -> windows 32 bits).
I have compiled:
- binutils-2.22
- gcc-4.8.0
- w32api library
But when I try to compile mingwrt library, I got an error:
$ make
Making `all' in `mingwex'
make[1]: Entering directory `/home/yugiohjcj/documents/downloads/software/mingwrt-3.20-2-mingw32/mingwex'
i686-pc-mingw32-gcc -c -g -O2 -Wall -fomit-frame-pointer -I. -I.. -I../include -nostdinc -iwithprefixbefore include -I ../../w32api/include ./math/hypotl.c -o hypotl.o
./math/hypotl.c: In function 'hypotl':
./math/hypotl.c:63:15: error: 'LDBL_MAX_EXP' undeclared (first use in this function)
if (exx > LDBL_MAX_EXP)
^
./math/hypotl.c:63:15: note: each undeclared identifier is reported only once for each function it appears in
./math/hypotl.c:68:13: error: 'LDBL_MIN_EXP' undeclared (first use in this function)
if (exx < LDBL_MIN_EXP)
^
make[1]: *** [hypotl.o] Error 1
make[1]: Leaving directory `/home/yugiohjcj/documents/downloads/software/mingwrt-3.20-2-mingw32/mingwex'
make: *** [mingwex] Error 2
What is this undeclared LDBL_MIN_EXP element?
Thank you.
Best regards.
next reply other threads:[~2014-08-07 0:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 0:34 YuGiOhJCJ Mailing-List [this message]
2014-08-07 9:11 ` Jonathan Wakely
2014-08-07 12:36 ` Tim Prince
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140807023433.b3c167480b7dc1e1a9cde717@laposte.net \
--to=yugiohjcj-mailinglist@laposte.net \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).