[Bug c/40627] not following "right-then-left" rule when compiling function pointers
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jul 3 15:19:00 GMT 2009
------- Comment #4 from ubizjak at gmail dot com 2009-07-03 15:19 -------
For the interested reader: see [1].
[1]: http://ieng9.ucsd.edu/~cs30x/rt_lt.rule.html
Unfortunately:
--quote--
First, symbols. Read
* as "pointer to" - always on the left side
[] as "array of" - always on the right side
() as "function returning" - always on the right side
as you encounter them in the declaration.
--/quote--
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40627
More information about the Gcc-bugs
mailing list