We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e7901f commit 61b353bCopy full SHA for 61b353b
spec/importc.dd
@@ -150,6 +150,23 @@ $(H2 $(LNAME2 implementation, Implementation))
150
C compiler) on the target platform.
151
)
152
153
+ $(H3 $(LNAME2 implicit-function-declaration, Implicit Function Declarations))
154
+
155
+ $(P Implicit function declarations:)
156
157
+ $(CCODE
158
+ int main()
159
+ {
160
+ func(); // implicit declaration of func()
161
+ }
162
+ )
163
164
+ $(P were allowed in K+R C and C89, but were invalidated in C99 and C11. Although many
165
+ C compilers still support them, ImportC does not.
166
167
168
+ $(RATIONALE Implicit function declarations are very error-prone and cause hard
169
+ to find bugs.)
170
171
$(H2 $(LNAME2 limitations, Limitations))
172
0 commit comments