Project

General

Profile

Bug #582

Wrong conditional ifdefs in xdrfile prevent from compiling by C++ compiler

Added by Semen Yesylevskyy about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

C++ compiler can't work with the xdrfile headers (tested with g++).

The problem:
Conditional ifdef

#ifdef CPLUSPLUS

should be

#ifdef __cplusplus

in order to be compiled normally.

Solution:
Change all xdrfile headers accordingly.

History

#1 Updated by David van der Spoel about 9 years ago

Fixed accordingly in commit 887ed8f.

Also available in: Atom PDF