This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] sh: Add "extern "C"" to __set_fpscr function


Nobuhiro Iwamatsu <iwamatsu@nigauri.org> wrote:
> When user compiles program that used _FPU_SETCW in sh4 in C++,
> become the error.
> Because 'extern "C"' is not set to __set_fpscr.
> 
> 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
> 
> 	* sysdeps/sh/sh4/fpu/fpu_control.h:
> 	Add 'extern "C"' protection to __set_fpscr.

sysdeps/sh/sh4/fpu_control.h has also a typedef and another
declaration.  They should be wrapped with in extern "C" too,
shouldn't they?

Regards,
	kaz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]