#91 warning: always_inline function might not be inlinable

general
wont-fix
nobody
None
1
2013-08-26
2013-08-24
S.L.C.
No

Compiling with a newer gcc 4.7+ gives tons of these warnings warnings "always_inline function might not be inlinable"

Can be fixed by changing this line of code:

"#define _OU_ALWAYSINLINE__DEFINITION __attribute__((always_inline))"
with:
"#define _OU_ALWAYSINLINE__DEFINITION inline __attribute__((always_inline))"
inside the file: "ou\include\ou\platform.h"

Discussion

  • Oleh Derevenko

    Oleh Derevenko - 2013-08-24

    GCC 4.7.2 does not produce anywarnings for me. Could you provide more details regarding version of GCC you use?

     
  • Oleh Derevenko

    Oleh Derevenko - 2013-08-25

    Neither GCC 4.8.1 does show and warnings.

     
  • Oleh Derevenko

    Oleh Derevenko - 2013-08-26

    Can't reproduce. Closing.

     
  • Oleh Derevenko

    Oleh Derevenko - 2013-08-26
    • status: open --> wont-fix
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks