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] sh: Add "extern "C"" to __set_fpscr function


On Tuesday, September 28, 2010 00:50:28 Nobuhiro Iwamatsu 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.

oops, sorry about that

> +#ifdef __cplusplus
> +extern "C" {
> +#endif

#include <features.h>
__BEGIN_DECLS

> +#ifdef __cplusplus
> +}
> +#endif  /* C++ */

__END_DECLS
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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