-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-12112
-
-
-
default
-
Use init_priority attribute
The constructor attribute does not support optional priority input but silently accepts it.
Below code will be compiled without emitting diagnostics, however, the constructor will not be prioritized.
_attribute_((constructor(65535))) void init3() { printf("A"); }