Project

General

Profile

Bug #3853 » closed_clang.patch

Alexander Pyhalov, 2013-06-29 11:15 AM

View differences:

/usr/include/sys/lc_core.h 2013-06-29 14:06:30.434665679 +0400
287 287
	void	*data;
288 288
} _LC_core_collate_t;
289 289

  
290
#if __cplusplus >= 199711L
291
namespace std {
292
#endif
290 293

  
291 294
struct tm;
295

  
296
#if __cplusplus >= 199711L
297
}
298
#endif /* end of namespace std */
299

  
292 300
typedef struct {
293 301
	short	nmethods;	/* no of methods array elements */
294 302
	short	ndefined;	/* no of methods defined in this object */
295
-- /export/home/build/floatingpoint.h	2013-06-29 14:53:34.054766389 +0400
303
++ /usr/include/floatingpoint.h	2013-06-29 09:17:46.793589552 +0400
......
197 197
extern char *fcvt __P((double, int, int *, int *));
198 198
extern char *gcvt __P((double, int, char *));
199 199

  
200
#if __cplusplus >= 199711L
201
namespace std {
202
#endif
200 203
/*
201 204
 * ANSI C Standard says the following entry points should be
202 205
 * prototyped in <stdlib.h>.  They are now, but weren't before.
203 206
 */
204 207
extern double atof __P((const char *));
205 208
extern double strtod __P((const char *, char **));
209
#if __cplusplus >= 199711L
210
}
211
#endif /* end of namespace std */
206 212

  
207 213
#undef	_FLOATINGPOINT_FILE
208 214

  
(1-1/6)