This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Another void attribute problem
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Another void attribute problem
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Wed, 29 Mar 2000 16:52:28 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
This seems to be another instance of void function attribute
problems.
void volatile f();
int x()
{
f();
}
Produces
/tmp/@23145.1: In function `x':
/tmp/@23145.1:6: invalid use of void expression
The body of the void volatile function compiles fine with the web page
gcc of last night's snapshot.
WOW!! You gotta like test compiling functions on the web!!
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985