11 November 2017, 21:32 | #1 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
StormC4 - floating-point number
i get an error when building one out of 10 source code files with "Hardware FPU"
Code:
Compile C source "3D.C" on server <Locale>. Command: COMPILE -c "3D.C" -o "objects/3D.o" -nostdinc -nostdinc++ -fvtable-thunks -I"StormC:include" -I"StormC:00-Projects/include" -DNDEBUG -DGFX_NO_BOOL -D__SASC -DGFX_DEF_FMATH -Wcomment -Wunknown-pragmas -xc++ -fexceptions -fno-builtin -fsigned-char -m68020 -m68881 -O2 -Wstrict-prototypes -Wimplicit -Wbad-function-cast -Wreturn-type -Wno-long-long -Wswitch -Wformat -Wunused -Wuninitialized -Wconversion Error: cannot create floating-point number File T:T4109B4E0.44, line 22 Error: cannot create floating-point number File T:T4109B4E0.44, line 26 C source "3D.C" done. but error lines stay the same. any idea anyone? #1) i found the issue. was something in a include file: Code:
#ifdef GFX_REAL_FLOAT typedef float real; #else #define GFX_REAL_DOUBLE typedef double real; #endif does build now. Last edited by emufan; 11 November 2017 at 22:57. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE Assembly dump from point to point? | Sim085 | support.WinUAE | 3 | 11 April 2017 19:43 |
Fast floating-point random numbers | Leffmann | Coders. Tutorials | 27 | 25 August 2016 01:59 |
Important Facts about Floating Point Numbers | Mrs Beanbag | Coders. General | 2 | 13 August 2016 21:14 |
Floating point without FPU | oRBIT | Coders. Asm / Hardware | 13 | 18 March 2015 23:11 |
stormc4 help | forumbase | support.Apps | 2 | 06 March 2006 02:12 |
|
|