On Sun, Dec 21, 2003 at 08:10:47PM -0800, Matt Zimmerman wrote:
> On Mon, Dec 22, 2003 at 01:34:17PM +1100, Daniel Stone wrote:
>
> > #ifdef __cplusplus
> > extern "C" {
> > #endif
> >
> > [...]
> >
> > #ifdef __cplusplus
> > }
> > #endif
>
> There seem to be macros in place for this already, i
On Mon, Dec 22, 2003 at 01:34:17PM +1100, Daniel Stone wrote:
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> [...]
>
> #ifdef __cplusplus
> }
> #endif
There seem to be macros in place for this already, in Xfuncproto.h:
#ifndef _XFUNCPROTOBEGIN
#if defined(__cplusplus) || defined(c_plusplus)
On Sun, Dec 21, 2003 at 03:01:01PM -0800, Matt Zimmerman wrote:
> I'm not certain where it's supposed to come from, but there should be an
> extern "C" in there somewhere if is defined.
> Currently, this header is unusable in C++ programs.
>
> mizar:[/tmp] cat test.cc
> #include
>
> int main()
Package: xlibs-dev
Version: 4.2.1-14
Severity: normal
I'm not certain where it's supposed to come from, but there should be an
extern "C" in there somewhere if is defined.
Currently, this header is unusable in C++ programs.
mizar:[/tmp] cat test.cc
#include
int main() {
XineramaQueryEx
4 matches
Mail list logo