rfg@ESP.ICS.UCI.EDU (02/21/90)
/* gcc 1.36 bug 900221_01 Even when the -pedantic option is used, gcc fails to issue either warnings or errors if the `function attributes' extension is used in declarations of function entities which involve typedef names. Also, even for the cases where the function declarations do not involve typedef names, the warning messages could be worded better. */ typedef (function_t) (); volatile function_t volatile_function; /* ERROR - not ANSI */ const function_t const_function; /* ERROR - not ANSI */ volatile void function_0 () { /* ERROR - not ANSI */ } const void function_1 () { /* ERROR - not ANSI */ } /* 900220_01.c:16: warning: function declared to return const or volatile result 900220_01.c: In function function_0: 900220_01.c:17: warning: `volatile' function does return 900220_01.c: At top level: 900220_01.c:19: warning: function declared to return const or volatile result */ /* // Ron Guilmette (rfg@ics.uci.edu) // C++ Entomologist // Motto: If it sticks, force it. If it breaks, it needed replacing anyway. */