Opened 15 years ago
Closed 15 years ago
#309 closed task (wontfix)
Relax main method signature requirements
| Reported by: | zirkel | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | model | Version: | 1.1 |
| Keywords: | Cc: |
Description
Right now main is required to have one of two signatures.
int main() int main(int argc, char* argv[])
In the C99 standard, main can have other equivalent signatures. In example.c, we use
int main(int argc, char** argv)
It is also legal for these types to be replaced with equivalent typedef names.
Change History (3)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Pushing problem onto the ast2model module.
Note:
See TracTickets
for help on using tickets.

Is it possible for the Model Builder to just replace these alternate parameters with the one standard one?
It will really simplify the model module.