Build failure with GCC 5.1

Hi,

I've just tried to build the library with GCC 5.1 and it complains about the usage of "__forceinline" in various files:

[...]runtime/src/kmp_csupport.c:2322:8: error: '__forceinline' does not name a type

In ittnotifiy, there are macros ITT_NOTIFY and ITT_NOTIFY_ATTRIBUTE which evaluates to "__attribute__ ((always_inline, unused))". I don't know but this seems to be the correct way to ensure inlining...

Jonas

I believe I've fixed this issue.

Committed revision 238347.

-- Johnny

Yes, now it compiles correctly.

Thanks,
Jonas

From: Peyton, Jonathan L [mailto:jonathan.l.peyton@intel.com]
Sent: Wednesday, May 27, 2015 9:02 PM
To: Hahnfeld, Jonas; 'openmp-dev@dcs-maillist2.engr.illinois.edu'
Subject: RE: Build failure with GCC 5.1

I believe I've fixed this issue.

Committed revision 238347.

-- Johnny

From: openmp-dev-bounces@cs.uiuc.edu [mailto:openmp-dev-
bounces@cs.uiuc.edu] On Behalf Of Hahnfeld, Jonas
Sent: Wednesday, May 27, 2015 1:51 AM
To: 'openmp-dev@dcs-maillist2.engr.illinois.edu'
Subject: [Openmp-dev] Build failure with GCC 5.1

Hi,

I've just tried to build the library with GCC 5.1 and it complains about

the

usage of "__forceinline" in various files:
> [...]runtime/src/kmp_csupport.c:2322:8: error: '__forceinline' does
> not name a type

In ittnotifiy, there are macros ITT_NOTIFY and ITT_NOTIFY_ATTRIBUTE which
evaluates to "__attribute__ ((always_inline, unused))". I don't know but

this