GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

124 /* Initialization common to C and Objective-C front ends.  */

実装[]

125 bool
126 c_objc_common_init (void)
127 {
128   c_init_decl_processing ();
129 
130   if (c_common_init () == false)
131     return false;
132 
133   /* These were not defined in the Objective-C front end, but I'm
134      putting them here anyway.  The diagnostic format decoder might
135      want an enhanced ObjC implementation.  */
136   diagnostic_format_decoder (global_dc) = &c_tree_printer;
137 
138   /* If still unspecified, make it match -std=c99
139      (allowing for -pedantic-errors).  */
140   if (mesg_implicit_function_declaration < 0)
141     {
142       if (flag_isoc99)
143         mesg_implicit_function_declaration = flag_pedantic_errors ? 2 : 1;
144       else
145         mesg_implicit_function_declaration = 0;
146     }
147 
148   return true;
149 }



リンク元

Advertisement