Opened 7 years ago
Closed 7 years ago
#72 closed defect (fixed)
starting main
Reported by: | pabuhr | Owned by: | |
---|---|---|---|
Priority: | trivial | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description (last modified by )
gcc accepts the following as the starting main routine:
int main( const volatile int argc, const char * volatile * const argv ) {}
but cfa does not:
cfa test.c CFA Version 1.0.0 (debug) test.c: In function 'invoke_main': test.c:9:144: warning: passing argument 2 of '__main__Fi_CViCPVPCc__1' from incompatible pointer type [-Wincompatible-pointer-types] test.c:7:12: note: expected 'const char * volatile* const' but argument is of type 'char **' int main( const volatile int argc, const char * volatile * const argv ) {}
Change History (2)
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by
Owner: | set to Thierry Delisle <tdelisle@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 1619acd: