#82 error when compiling with Intel Compiler

open
nobody
None
5
2012-12-16
2012-12-16
Holger F.
No

yarp/src/yarpmanager/libymanager/include/module.h uses the define __MODULE__ which is a reserved keyword in icc.
Icc does not include the contents of module.h since the define is already known and compilation ends with error.

Renaming __MODULE__ to __MODULE_H__ resolves the issue.

[icc version 13.0.1 (gcc version 4.7.0 compatibility) on Debian wheezy.]

Discussion

  • Ali Paikan
    Ali Paikan
    2012-12-17

    Thanks Holger for the report. It's fixed now!