General TC > Programming & Scripting - Unofficial
error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-st
(1/1)
halma:
hi,
i am using the *FLAGS what is written on the wiki to build an EXtension.
while i try to build the XEN-Tools as EXtension i got this error Message:
qemu-nbd.c:223:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
someone knows how to fix this issue ?
best regars
Halma
Rich:
Hi halma
Try adding
--- Code: ----std=c99
--- End code ---
to the flags.
halma:
sorry for asking again , is this for the CFLAG or CPPFLAG or LDFLAG or all flags ?
thanks
best regards
Halma
Rich:
Hi halma
Just the compiler flags (CFLAG and CPPFLAG).
Navigation
[0] Message Index
Go to full version