Web lists-archives.org

Re: [Mingw-msys] [mingw - MSYS] RE: bash empty for-loop




> $make 
> gcc -Wall -O2 -g -Iinclude i_C:/MinGW/include -o obj/main.o -c src/main.c 
> in file included from src/main.c:23: 
> include/myinclude.h:24: error: syntax error before "uint32_t" 
> include/myinclude.h:24: warning: no semicolon at end of struct or union 
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Include/myinclude.h:25 warning: type defaults to 'int' in declaration of 'my_variable' 
> 
> Could you tell me what may be the cause of the problem please? 

No, we couldn't. Not really without knowing any details.

However, an educated guess (=the compiler says so) would be that you're
missing a semicolon somewhere. It might also be any other missing token
(like a missing colon in a label, missing variable name, etc.).
Basically anything that could provoke a parse error.
(Check your that struct or union of your at line 24.)

Did you remember to ./configure the utility?


-- 
Tuomo

... Methods for destroying the Earth:
    3. Overspun                -- How to destroy the Earth,
                                  http://ned.ucam.org/~sdh31/misc/destroy.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys