From: "Andrew Cottrell" To: Cc: "Charles Sandmann" Subject: RE: libm build problem Date: Sat, 19 Jul 2003 15:47:05 +1000 Message-ID: <000001c34db9$3413d7b0$0101a8c0@acp42g> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal In-Reply-To: <10307190349.AA19046@clio.rice.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h6J5lNQ00640 Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Building with 2.95.3 - > > gcc ... -c wf_acos.c > wf_acos.c: In function `acosf': > wf_acos.c:37: parse error before `float' Looks like _float_long_union in undefined. > > Similar problems for other files such as wf_acosh There are allot more than this that I modified when the _flot_long_union was added. > So recent patches to these files have broken building with > V2.95.3, I'd prefer not to burn that bridge. I agree and I do not see any reason for the changes to have broken building under 2.95.3. Either I missed something when I did the patch or the only other thing I can think of is that the ieee.h does not typedef _float_long_union for some reason. In include\libc\ieee.h is the following typedef defined? typedef union { float f; long l; } _float_long_union; If the typedef is included in ieee.h if you change the ieee.h to always define it then does it work? If so then looks like one of the #ifndef's are a problem. Regards, Andrew