This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Consider addressing compatibility regarding 'inline' keyword

Discussion of Eggdrop's code and module programming in C.
Post Reply
d
dre
Voice
Posts: 1
Joined: Sun Jul 20, 2014 3:11 pm

Consider addressing compatibility regarding 'inline' keyword

Post by dre »

Hi,

I maintain the eggdrop package in MacPorts. I just updated the port to fix some breakage caused by the 'inline' keyword, which is handled differently by clang as compared to GCC.

For MacPorts, I'm simply removing the three instances of this keyword, secure in the knowledge that clang will inline the code if it would help to do so.

You may wish to special-case the 'inline' keyword to be native compatible with clang (e.g. 'static inline'), or simply remove 'inline' entirely.

Here's a reference to the MacPorts thread on this topic:

https://trac.macports.org/ticket/44286

Cheers,
-dre
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Just for reference:
http://lists.eggheads.org/pipermail/bug ... 01038.html
Taken from the mailing list of the official development team at eggheads.org
NML_375
Post Reply