nanogui: Thread: [Nano-X] Compile with c++


[<<] [<] Page 1 of 1 [>] [>>]
Subject: [Nano-X] Compile with c++
From: Murphy Chen ####@####.####
Date: 16 May 2000 17:52:08 -0000
Message-Id: <Pine.LNX.4.10.10005170149240.11283-100000@pc120105.ccl.itri.org.tw>

Hello,

	I think it would be better to add lines like:
#ifdef __cplusplus
  extern "C" {
#endif
	and
#ifdef __cplusplus
  }
#endif 
	in header files in order to make c++ compilers happy. :)

Murphy


Subject: Re: [Nano-X] Compile with c++
From: "Greg Haerr" ####@####.####
Date: 16 May 2000 18:53:02 -0000
Message-Id: <014201bfbf68$46a2ed90$3017dbd0@censoft.com>

: I think it would be better to add lines like:
: #ifdef __cplusplus
:   extern "C" {
: #endif
: and
: #ifdef __cplusplus
:   }
: #endif 
: in header files in order to make c++ compilers happy. :)


OK.  I'll add them to windows.h and nano-X.h.

Regards,

Greg


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.