Hi Markus,

On Friday 21 February 2014 12:48:36 Markus Blatt wrote:
> Seeing the
> 
> #ifdef __cplusplus
> extern "C" {
> #endif
> 
> statements. Are some you compiling opm-core with C? Or is it always
> compiled with a C++ compiler and just some parts of the library must
> be usable from C?

If I'm not horribly wrong, everybody who does nothing special to their build
uses the C compiler for those parts:

-- snip --
and@heuristix:~/src/opm-core > make VERBOSE=1
...
[  4%] Building C object 
CMakeFiles/opmcore.dir/opm/core/grid/cpgpreprocess/uniquepoints.c.o
/usr/bin/cc ...
...
-- snap --

hope that helps...

cheers
  Andreas

-- 
Who wrote this! And what was I thinking?
                          — "Overheard" by Ted Gould

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

_______________________________________________
Opm mailing list
Opm@opm-project.org
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to