Article View: borland.public.cppbuilder.upgrade
Article #195#include <cmath> problem following C++Builder 2007 upgrade
From: John Kent
Date: Fri, 29 Jun 2007 16:19
Date: Fri, 29 Jun 2007 16:19
16 lines
1389 bytes
1389 bytes
Many of my existing projects contain the #include <cmath> header I now find that in C++ builder 2007 that the compiler stops in the cmath.h header and gives the error : [BCC32 Error] cmath(24): E2356 Type mismatch in redeclaration of 'cdecl atan2f(float,float)' and the equivalent for a lot of other math functions with float arguments. I only use math functions taking double. Can anyone help please ? Thanks John
Technical Details
Message-ID:
<46867033$0$27850$db0fefd9@news.zen.co.uk>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!club-internet.fr!feedme-small.clubint.net!zen.net.uk!demorgan.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10529a,e95b5525a416a96,start X-Google-Attributes: gid10529a,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!club-internet.fr!feedme-small.clubint.net!zen.net.uk!demorgan.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail Date: Fri, 29 Jun 2007 17:19:22 +0100 From: John Kent <john.kent@robin.nospam.net> User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.upgrade Subject: #include <cmath> problem following C++Builder 2007 upgrade Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 18 Message-ID: <46867033$0$27850$db0fefd9@news.zen.co.uk> Organization: Zen Internet NNTP-Posting-Host: 82.69.38.162 X-Trace: 1183215668 prichard.zen.co.uk 27850 82.69.38.162:48909 X-Complaints-To: abuse@zen.co.uk