LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Wolfgang

complete C99 support

well, the title says it all: extend the current partial support of C99 standard to full support

5 Comments
LuisG
NI Employee (retired)
Status changed to: Under Consideration
 
Wolfgang
Trusted Enthusiast

Marcel, wow, you are really optimistic... 2030... I hope that at least some of the suggestions of this idea exchange will be implemented in CVI a little bit earlier than this Smiley Wink

MarcelK
Member

You know how they say, a pessimist is an optimist with experience Smiley Wink Seeing how spotty C99 support is with many C compilers even today I don't really have much hope for C11. But as hope dies last, I hope with you Smiley Happy

m-a
Member
Member

Indeed, variadic macro support appears to be working for me (not sure what I'd done wrong the first time I've tried).

 

Math.h support however is stuck with C89/C90, for instance, erf(), erfc(), round() and rint() are missing in CVI 9.0.1 and CVI 2010 according to http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/libref/cviansi_c_libfunctiontree/ -- but these are only examples.

 

I'd certainly appreciate if the next CVI release offered the union of C99 and C11 library support. It's a pity that even the mainstream C99 library support isn't there, after more than a decade.

Wolfgang
Trusted Enthusiast

Now with CVI based on clang and clang supporting C99 including complex numbers it would be very nice if CVI itself also would support complex numbers:

 

- with the appropriate functions such as clog, csqrt,...

- with an adapted Advanced Analysis Library

- with the variable view displaying real and imaginary part

- with the data tooltips displaying real and imaginary part