Bug#224757: X11/extensions/Xinerama.h missing extern "C"

2003-12-27 Thread Branden Robinson
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

Bug#224757: X11/extensions/Xinerama.h missing extern "C"

2003-12-22 Thread Matt Zimmerman
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)

Bug#224757: X11/extensions/Xinerama.h missing extern "C"

2003-12-21 Thread Daniel Stone
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()

Bug#224757: X11/extensions/Xinerama.h missing extern "C"

2003-12-21 Thread Matt Zimmerman
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