Overview
| Artifact ID: | f4b874311cb855d46affb23e53e829227c84ab88 |
|---|---|
| Ticket: | 419694ffffffffffffffffffffffffffffffffff
c++ & tcl.h inclusion of varargs.h |
| User & Date: | nobody on 2001-04-28 03:57:48 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Regarding the inclusion of stdarg.h vs varargs.h in tcl.h. The ISO C++ standard, Section 16.8, says that whether __STDC__ is set, and the value it is set to, is implementation-defined. I.e., it's useless for C++. As a matter of fact, some C++ compilers (e.g. KAI's KCC) define it or not define it according to the custom of the vendor's C++ compiler, since the vendor's headers expect likewise. The proper fix is for the header file to adhere to the rules in Section 16.8, and use: #if defined(__STDC__) || defined(HAS_STDARG) || \ defined(__cplusplus) # include <stdarg.h> etc. Alternately define HAS_STDARG if __cplusplus is defined.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "52. Portability Support"
- title changed to: "c++ & tcl.h inclusion of varargs.h"
- type changed to: "Bug"