﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
471	header file C++ compatibility	jhoblitt	eugene	"Is this sufficient for general C++ compatability or are there other major concerns?

\subsection{C++ Compatibility}

All PSLib ``public'' header files should comptable with \code{C++}.  This
primarily involves using \code{C} pre-processor directives to enable
\code{C++}'s \code{extern ""C""} linkage specification when a header file is being
processed as part of a \code{C++} compilation.

An example of wrapping a header file with an \code{extern ""C""} block:

\begin{verbatim}
#ifndef FOO_H
#define FOO_H 1

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

...

#ifdef __cplusplus
}
#endif

#endif // FOO_H
\end{verbatim}"	enhancement	closed	high		IPP SDRS	unspecified	minor	fixed		rhl@…
