Between 20060508 and 20060530 gcc 4.2 changed to now longer allow the following code. This error seems bogus to me.
(sid)3733:[EMAIL PROTECTED]: ~] cat test.cc extern "C" void foo(register int *my_perl); (sid)3734:[EMAIL PROTECTED]: ~] c++ -c test.cc test.cc:1: error: invalid use of 'register' in linkage specification zsh: exit 1 c++ -c test.cc (sid)3735:[EMAIL PROTECTED]: ~] -- Summary: [4.2 regression] bogus error: invalid use of 'register' in linkage specification Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27884