Hello there, this is my first post on this forum, I hope I'm posting this in the right section.

Following problem: I am writing my first c-program for my calculator and when making (./make.bat) the .g3a file it gives me a note (not an error or warning) but the add-in is not generated. The message is following:
note: include '<stdio.h>' or provide a declaration of 'snprintf'
But I already included stdio.h, when I copy the include and using it twice it still gives me this message.
So: What must I do to fix this?

Any help is appreciated! :D


--- NoSkiller / Lukas ---
libfxcg doesn't provide an implementation of snprintf; you can't use it (or you have to provide your own implementation, or implement it in libfxcg.. might not be too hard).

The compiler is trying to be helpful, but it's actually making things worse because the prizm is a nonstandard environment.
Try reading through this. It should help you.
https://prizm.cemetech.net/index.php?title=Printing_Text
Thanks for the quick responses, I'll take a look into it. Very Happy
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement