Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C

Compiler

gcc 8.3.0

Options
C11
no pedantic

Author

anonymous

about 6 years ago

$ gcc prog.c -std=c11
prog.c: In function 'hoge_func':
prog.c:10:42: error: expected expression before 'int'
     return( (unsigned char)(hogehoge_dt (int)0xffffU) );
                                          ^~~
prog.c:10:29: error: called object 'hogehoge_dt' is not a function or function pointer
     return( (unsigned char)(hogehoge_dt (int)0xffffU) );
                             ^~~~~~~~~~~
prog.c:2:9: note: declared here
     int hogehoge_dt = 0;
         ^~~~~~~~~~~
prog.c:10:46: error: expected ')' before numeric constant
     return( (unsigned char)(hogehoge_dt (int)0xffffU) );
                            ~                 ^~~~~~~
                                              )
Exit Code:
1