Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.7.0, Qt Creator 4.8.0-beta1
Description
Steps:
- create a C project
- create file.h, in which you define a C struct, without typedef and a function prototype which has this c struct passed as pointer
- create corresponding file.c
- go to the header, and right click to add your function in file.c
- you'll see that it is missing "struct" keyword.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-21092 Add Function Definition leaves out "struct" for C files
- Closed