The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
[obj/status.o] Error 1
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Zikoziz
Hi =D
Plissss Help me!!!
my error:
status.c: In function 'status_yaml_readdb_refine_sub':
status.c:14239:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (yamlwrapper* type = yaml_iterator_first(it); yaml_iterator_has_next(it); type = yaml_iterator_next(it)) {
^
status.c:14239:3: note: use option -std=c99 or -std=gnu99 to compile your code
status.c:14273:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (yamlwrapper* level = yaml_iterator_first(it); yaml_iterator_has_next(it) ; level = yaml_iterator_next(it)) {
^
status.c: In function 'status_yaml_readdb_refine':
status.c:14323:2: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < ARRAYLENGTH(labels); i++) {
^
make[1]: *** [obj/status.o] Error 1
make[1]: Leaving directory `/home/LizardRO_xVuiTmL/ragnarok/src/map'
make: *** [map] Error 2
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.