decNumber C library Visual Studio 2010 Compile error -


i getting errors compiling decnumber c library in visual studio 2010 in windows 7 64 -bit pc.

i tried solutions offered @ post: decnumber library - compile issues did not fix problems.

these errors getting

error c1189: #error :  unexpected decpmax value 

coming line of code in delcommonn.c file:

//names simpler testing , default context    #if decpmax==7   #define single     1   #define double     0   #define quad       0   #define defcontext dec_init_decimal32 #elif decpmax==16   #define single     0   #define double     1   #define quad       0   #define defcontext dec_init_decimal64 #elif decpmax==34   #define single     0   #define double     0   #define quad       1   #define defcontext dec_init_decimal128 #else   #error unexpected decpmax value #endif 

also getting error:

error c1189: #error :  decbasic.c must included after deccommon.c 

from line of code in delbasic.c file:

// compile-time flags single, double, , quad set in // deccommon.c #if !defined(quad)   #error decbasic.c must included after deccommon.c #endif 


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -