[Python-bugs-list] [Bug #119851] inline C++ keyword in config.h

noreply@sourceforge.net noreply@sourceforge.net
Thu, 2 Nov 2000 17:28:31 -0800


Bug #119851, was updated on 2000-Oct-31 01:47
Here is a current snapshot of the bug.

Project: Python
Category: Core
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: inline C++ keyword in config.h

Details: Hi,

I have built Python 2.0 on Solaris 7 using the Sun C compiler.

Now I see the following piece of code in config.h:

/* Define as __inline if that's what the C compiler calls it.  */
#define inline

This is a problem when writing Python modules in C++
and should probably be removed. What was the intent
in the first place?

Thanks,
Dimitri


Follow-Ups:

Date: 2000-Nov-02 17:28
By: fdrake

Comment:
This does appear to be unnecessary.  Removing AC_C_INLINE from configure.in seems to be sufficient and doesn't seem to break anything.  If no one can explain why it should remain, I'll check in the changes this weekend.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=119851&group_id=5470