Forum Discussion
Altera_Forum
Honored Contributor
13 years agousing the software build tools eclipse gui
Right Click On Project Folder in the Project Explorer Select Properties Nios II Application Properties User Flags: -std=c99 With software build tools sometimes setting -std=c99 in the GUI doesn't seem to stick :mad:. I never figured out why :confused:. What I did to make it stick was to edit the projects MAKEFILE directly by setting the APP_FLAGS_USER_FLAGS to include -std=c99 .
using the makefile (direct method)
search for app_cflags_user_flags
app_cflags_user_flags := -std=c99
legacy nios ii tools Right Click On Project Folder in the Project Explorer (aka NIOS II C/C++ Projects tab) Select Properties Select The C/C++ Build item Tool Settings Tab NIOS II Compiler-->General Folder Compiler Flags: -std=c99