http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46333
--- Comment #9 from Jay <jay.krell at cornell dot edu> 2010-11-07 00:50:02 UTC
---
Here is an example that occurs many times, warning only:
extern "C" { void F1(void); }
void (*F2)(void) = F1;
-bash-4.1$ /usr/bin/CC -c $HOME/1.cpp
"/home/jkrell/1.cpp", line 5: Warning (Anachronism): Using extern "C" void(*)()
to initialize void(*)().
1 Warning(s) detected.
-bash-4.1$ uname -a
SunOS current10s 5.10 Generic_142909-17 sun4v sparc SUNW,SPARC-Enterprise-T5220