[Python-bugs-list] [Bug #119851] inline C++ keyword in config.h
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 8 Nov 2000 12:24:01 -0800
Bug #119851, was updated on 2000-Oct-31 01:47
Here is a current snapshot of the bug.
Project: Python
Category: Core
Status: Closed
Resolution: Fixed
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.
-------------------------------------------------------
Date: 2000-Nov-08 12:24
By: fdrake
Comment:
I've removed the test in configure.in revision 1.179 and the symbol definition from config.h.in revision 2.79.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=119851&group_id=5470