Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-03-24
17:00 • Closed ticket [838147ffff]: Support for C99 plus 6 other changes artifact: 353b1059e0 user: elfring
2008-03-13
02:51 • Pending ticket [838147ffff]. artifact: 2fbe3f541a user: hobbs
2003-11-18
02:36 • Ticket [838147ffff]: 5 changes artifact: 9ba6ca37c7 user: elfring
2003-11-08
04:14 • Ticket [838147ffff]: 5 changes artifact: acd2cb20bf user: hobbs
2003-11-07
20:51 • New ticket [838147ffff]. artifact: 95398df874 user: elfring

Support for C99

Closed / Out of Date838147ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 19 years ago
Descriptionplain2003-11-07 20:51:18
Would you like to use more inline functions instead of macros or other functions that contain only a few lines?
How do you think about the C99 standard?
- http://www.greenend.org.uk/rjk/2003/03/inline.html
- http://gcc.gnu.org/onlinedocs/gcc/Inline.html
- http://www.gnu.org/software/gcc/c99status.html
- http://www.cuj.com/documents/s=8906/cujexp0311sutter/
hobbsplain2003-11-08 04:14:26
Logged In: YES 
user_id=72656

The key problem is that Tcl is much more portable than the 
C99 standard at this point.  It builds on systems with 
compilers that aren't C99 compliant.
elfringplain2003-11-18 02:36:01
Logged In: YES 
user_id=572001

When will the following code be available in a header file?

#if defined(HAVE_C_INLINE) || defined(__cplusplus)
#define INLINE_SUPPORTED
#define INLINE inline
#else
#define INLINE
#endif
hobbsplain2008-03-13 02:51:36
Logged In: YES 
user_id=72656
Originator: NO

inline is used now.
elfringplain2008-03-24 17:00:49
Logged In: YES 
user_id=572001
Originator: YES

Thanks
Log in (anonymous is fine) to add a comment.