File: vc71Include.patch

package info (click to toggle)
gccxml 0.9.0%2Bcvs20100501-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 79,132 kB
  • ctags: 73,371
  • sloc: ansic: 751,436; cpp: 34,175; asm: 26,833; sh: 5,077; makefile: 4,696; lex: 589; awk: 566; perl: 334; yacc: 271; pascal: 86; python: 29
file content (921 lines) | stat: -rw-r--r-- 24,472 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
Index: assert.h
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/assert.h,v
retrieving revision 1.1
retrieving revision 1.3
diff -c -3 -p -r1.1 -r1.3
*** assert.h	10 Jun 2003 16:12:29 -0000	1.1
--- assert.h	27 Jan 2006 14:16:50 -0000	1.3
*************** _CRTIMP void __cdecl _assert(const char 
*** 53,58 ****
  }
  #endif
  
! #define assert(exp) (void)( (exp) || (_assert(#exp, __FILE__, __LINE__), 0) )
  
  #endif  /* NDEBUG */
--- 53,58 ----
  }
  #endif
  
! #define assert(exp)     ((void)0)
  
  #endif  /* NDEBUG */
Index: functional
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/functional,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** functional	10 Jun 2003 16:12:29 -0000	1.1
--- functional	21 Oct 2007 19:58:10 -0000	1.2
*************** public:
*** 353,359 ****
  		}
  
  protected:
! 	_Result (__cdecl *_Pfun)(_Arg);	// the function pointer
  	};
  
  		// TEMPLATE CLASS pointer_to_binary_function
--- 353,360 ----
  		}
  
  protected:
! 	typedef _Result (__cdecl *_PfunType)(_Arg);
!         _PfunType _Pfun;  // the function pointer
  	};
  
  		// TEMPLATE CLASS pointer_to_binary_function
*************** public:
*** 376,382 ****
  		}
  
  protected:
! 	_Result (__cdecl *_Pfun)(_Arg1, _Arg2);	// the function pointer
  	};
  
  		// TEMPLATE FUNCTION ptr_fun
--- 377,384 ----
  		}
  
  protected:
! 	typedef _Result (__cdecl *_PfunType)(_Arg1, _Arg2);
!         _PfunType _Pfun;  // the function pointer
  	};
  
  		// TEMPLATE FUNCTION ptr_fun
Index: limits
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/limits,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** limits	10 Jun 2003 16:12:29 -0000	1.1
--- limits	21 Oct 2007 19:58:10 -0000	1.2
*************** struct _CRTIMP2 _Num_base
*** 66,83 ****
  	_STCONS(int, radix, 0);
  	};
  
  		// TEMPLATE CLASS numeric_limits
  template<class _Ty>
  	class numeric_limits
  		: public _Num_base
  	{	// numeric limits for arbitrary type _Ty (say little or nothing)
  public:
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (_Ty(0));
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (_Ty(0));
  		}
--- 66,84 ----
  	_STCONS(int, radix, 0);
  	};
  
+ #define __GCCXML_AVOID_MACRO_EXPANSION
  		// TEMPLATE CLASS numeric_limits
  template<class _Ty>
  	class numeric_limits
  		: public _Num_base
  	{	// numeric limits for arbitrary type _Ty (say little or nothing)
  public:
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (_Ty(0));
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (_Ty(0));
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 154,165 ****
  public:
  	typedef char _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (CHAR_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (CHAR_MAX);
  		}
--- 155,166 ----
  public:
  	typedef char _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (CHAR_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (CHAR_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 208,219 ****
  public:
  	typedef wchar_t _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return ((_Ty)WCHAR_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return ((_Ty)WCHAR_MAX);
  		}
--- 209,220 ----
  public:
  	typedef wchar_t _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return ((_Ty)WCHAR_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return ((_Ty)WCHAR_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 263,274 ****
  public:
  	typedef bool _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (false);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (true);
  		}
--- 264,275 ----
  public:
  	typedef bool _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (false);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (true);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 316,327 ****
  public:
  	typedef signed char _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (SCHAR_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (SCHAR_MAX);
  		}
--- 317,328 ----
  public:
  	typedef signed char _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (SCHAR_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (SCHAR_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 368,379 ****
  public:
  	typedef unsigned char _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (UCHAR_MAX);
  		}
--- 369,380 ----
  public:
  	typedef unsigned char _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (UCHAR_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 420,431 ****
  public:
  	typedef short _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (SHRT_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (SHRT_MAX);
  		}
--- 421,432 ----
  public:
  	typedef short _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (SHRT_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (SHRT_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 473,484 ****
  public:
  	typedef unsigned short _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (USHRT_MAX);
  		}
--- 474,485 ----
  public:
  	typedef unsigned short _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (USHRT_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 526,537 ****
  public:
  	typedef int _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (INT_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (INT_MAX);
  		}
--- 527,538 ----
  public:
  	typedef int _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (INT_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (INT_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 579,590 ****
  public:
  	typedef unsigned int _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (UINT_MAX);
  		}
--- 580,591 ----
  public:
  	typedef unsigned int _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (UINT_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 632,643 ****
  public:
  	typedef long _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (LONG_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (LONG_MAX);
  		}
--- 633,644 ----
  public:
  	typedef long _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (LONG_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (LONG_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 685,696 ****
  public:
  	typedef unsigned long _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (ULONG_MAX);
  		}
--- 686,697 ----
  public:
  	typedef unsigned long _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (ULONG_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 739,750 ****
  public:
  	typedef _LONGLONG _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (-_LLONG_MAX - _C2);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (_LLONG_MAX);
  		}
--- 740,751 ----
  public:
  	typedef _LONGLONG _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (-_LLONG_MAX - _C2);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (_LLONG_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 792,803 ****
  public:
  	typedef _ULONGLONG _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (_ULLONG_MAX);
  		}
--- 793,804 ----
  public:
  	typedef _ULONGLONG _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (0);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (_ULLONG_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 846,857 ****
  public:
  	typedef float _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (FLT_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (FLT_MAX);
  		}
--- 847,858 ----
  public:
  	typedef float _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (FLT_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (FLT_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 901,912 ****
  public:
  	typedef double _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (DBL_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (DBL_MAX);
  		}
--- 902,913 ----
  public:
  	typedef double _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (DBL_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (DBL_MAX);
  		}
*************** template<> class _CRTIMP2 numeric_limits
*** 956,967 ****
  public:
  	typedef long double _Ty;
  
! 	static _Ty (__cdecl min)() _THROW0()
  		{	// return minimum value
  		return (LDBL_MIN);
  		}
  
! 	static _Ty (__cdecl max)() _THROW0()
  		{	// return maximum value
  		return (LDBL_MAX);
  		}
--- 957,968 ----
  public:
  	typedef long double _Ty;
  
! 	static _Ty __cdecl min __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return minimum value
  		return (LDBL_MIN);
  		}
  
! 	static _Ty __cdecl max __GCCXML_AVOID_MACRO_EXPANSION() _THROW0()
  		{	// return maximum value
  		return (LDBL_MAX);
  		}
Index: limits.h
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/limits.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** limits.h	10 Jun 2003 16:12:29 -0000	1.1
--- limits.h	18 Mar 2005 22:16:06 -0000	1.2
***************
*** 50,58 ****
  
  /* Make sure these macros don't show up in ANSI C++ code */
  #if !defined(__cplusplus) || defined(_MSC_EXTENSIONS)
! #define LLONG_MAX     0x7fffffffffffffff  /*maximum signed __int64 value */
! #define LLONG_MIN     0x8000000000000000  /*minimum signed __int64 value */
! #define ULLONG_MAX    0xffffffffffffffff  /*maximum unsigned __int64 value */
  #endif
  
  #if     _INTEGRAL_MAX_BITS >= 8
--- 50,58 ----
  
  /* Make sure these macros don't show up in ANSI C++ code */
  #if !defined(__cplusplus) || defined(_MSC_EXTENSIONS)
! #define LLONG_MAX     0x7fffffffffffffffi64  /*maximum signed __int64 value */
! #define LLONG_MIN     0x8000000000000000i64  /*minimum signed __int64 value */
! #define ULLONG_MAX    0xffffffffffffffffui64  /*maximum unsigned __int64 value */
  #endif
  
  #if     _INTEGRAL_MAX_BITS >= 8
Index: process.h
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/process.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** process.h	10 Jun 2003 16:12:29 -0000	1.1
--- process.h	1 Feb 2005 20:40:08 -0000	1.2
*************** _CRTIMP int __cdecl _wsystem(const wchar
*** 177,183 ****
   */
  intptr_t __cdecl _loaddll(char *);
  int __cdecl _unloaddll(intptr_t);
! int (__cdecl * __cdecl _getdllprocaddr(intptr_t, char *, intptr_t))();
  /* --------- The preceding functions are OBSOLETE --------- */
  
  
--- 177,184 ----
   */
  intptr_t __cdecl _loaddll(char *);
  int __cdecl _unloaddll(intptr_t);
! typedef int (__cdecl * _getdllprocaddr_type)();
! _getdllprocaddr_type __cdecl _getdllprocaddr(intptr_t, char *, intptr_t);
  /* --------- The preceding functions are OBSOLETE --------- */
  
  
Index: signal.h
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/signal.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** signal.h	10 Jun 2003 16:12:29 -0000	1.1
--- signal.h	17 May 2004 17:34:46 -0000	1.2
*************** extern void * _pxcptinfoptrs;
*** 89,95 ****
  
  /* Function prototypes */
  
! _CRTIMP void (__cdecl * __cdecl signal(int, void (__cdecl *)(int)))(int);
  _CRTIMP int __cdecl raise(int);
  
  
--- 89,96 ----
  
  /* Function prototypes */
  
! typedef void (__cdecl * __signal_handler_t)(int);
! _CRTIMP __signal_handler_t __cdecl signal(int, __signal_handler_t);
  _CRTIMP int __cdecl raise(int);
  
  
Index: stddef.h
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/stddef.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** stddef.h	10 Jun 2003 16:12:29 -0000	1.1
--- stddef.h	9 Jan 2009 13:47:14 -0000	1.2
*************** typedef unsigned short wchar_t;
*** 122,132 ****
--- 122,135 ----
  
  /* Define offsetof macro */
  
+ #define offsetof(s,m) ((size_t)__builtin_offsetof(s,m))
+ #if 0 /* replaced for gccxml */
  #ifdef  _WIN64
  #define offsetof(s,m)   (size_t)( (ptrdiff_t)&(((s *)0)->m) )
  #else
  #define offsetof(s,m)   (size_t)&(((s *)0)->m)
  #endif
+ #endif  /* 0 */
  
  
  #ifdef  _MT
Index: typeinfo.h
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/typeinfo.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** typeinfo.h	10 Jun 2003 16:12:29 -0000	1.1
--- typeinfo.h	17 May 2004 14:29:56 -0000	1.2
***************
*** 37,42 ****
--- 37,43 ----
  #endif  /* _DLL */
  #endif  /* _CRTIMP */
  
+ namespace std {
  class type_info {
  public:
      _CRTIMP virtual ~type_info();
*************** private:
*** 51,57 ****
      type_info(const type_info& rhs);
      type_info& operator=(const type_info& rhs);
  };
! 
  
  // This include must occur below the definition of class type_info
  #include <stdexcpt.h>
--- 52,59 ----
      type_info(const type_info& rhs);
      type_info& operator=(const type_info& rhs);
  };
! }
! using std::type_info;
  
  // This include must occur below the definition of class type_info
  #include <stdexcpt.h>
Index: valarray
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/valarray,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** valarray	10 Jun 2003 16:12:29 -0000	1.1
--- valarray	21 Oct 2007 19:58:10 -0000	1.2
***************
*** 5,10 ****
--- 5,12 ----
  #include <cmath>
  #include <xstddef>
  
+ #define __GCCXML_AVOID_MACRO_EXPANSION
+ 
  #pragma pack(push,8)
  #pragma warning(push,3)
  
*************** public:
*** 311,317 ****
  		return (_Sum);
  		}
  
! 	_Ty min() const
  		{	// return smallest of all elements
  		_Ty _Min = _Myptr[0];
  		for (size_t _Idx = 0; ++_Idx < size(); )
--- 313,319 ----
  		return (_Sum);
  		}
  
! 	_Ty min __GCCXML_AVOID_MACRO_EXPANSION() const
  		{	// return smallest of all elements
  		_Ty _Min = _Myptr[0];
  		for (size_t _Idx = 0; ++_Idx < size(); )
*************** public:
*** 320,326 ****
  		return (_Min);
  		}
  
! 	_Ty max() const
  		{	// return largest of all elements
  		_Ty _Max = _Myptr[0];
  		for (size_t _Idx = 0; ++_Idx < size(); )
--- 322,328 ----
  		return (_Min);
  		}
  
! 	_Ty max __GCCXML_AVOID_MACRO_EXPANSION() const
  		{	// return largest of all elements
  		_Ty _Max = _Myptr[0];
  		for (size_t _Idx = 0; ++_Idx < size(); )
Index: vector
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/vector,v
retrieving revision 1.2
retrieving revision 1.3
diff -c -3 -p -r1.2 -r1.3
*** vector	22 Oct 2007 20:15:48 -0000	1.2
--- vector	22 Oct 2007 20:17:45 -0000	1.3
*************** public:
*** 1051,1056 ****
--- 1051,1058 ----
  		: public _Vb_iter_base
  		{	// iterator for nonmutable vector<bool>
  	public:
+                 using _Vb_iter_base::_Myoff;
+                 using _Vb_iter_base::_Myptr;
  		typedef random_access_iterator_tag iterator_category;
  		typedef _Bool value_type;
  		typedef _Dift difference_type;
Index: xdebug
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/xdebug,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** xdebug	10 Jun 2003 16:12:29 -0000	1.1
--- xdebug	21 Oct 2007 19:58:10 -0000	1.2
*************** template<class _Ty>
*** 57,63 ****
--- 57,65 ----
  	{	// delete from the debug CRT heap even if operator delete exists
  	if (_Ptr != 0)
  		{	// worth deleting
+ #if 0
  		_Ptr->~_Ty();
+ #endif
  		// delete as _NORMAL_BLOCK, not _CRT_BLOCK, since we might have
  		// facets allocated by normal new.
  		free(_Ptr);
*************** public:
*** 74,93 ****
  	template<class _Other>
  		struct rebind
  		{	// convert _DebugHeapAllocator<_Ty> to _DebugHeapAllocator<_Other>
! 		typedef typename _DebugHeapAllocator<_Other> other;
  		};
  
! 	allocator<_Ty>::pointer allocate(allocator<_Ty>::size_type _Count, const void *)
  		{	// allocate array of _Count elements, ignore hint
  		return ((_Ty *)_NEW_CRT char[_Count * sizeof(_Ty)]);
  		}
  
! 	allocator<_Ty>::pointer allocate(allocator<_Ty>::size_type _Count)
  		{	// allocate array of _Count elements
  		return ((_Ty *)_NEW_CRT char[_Count * sizeof(_Ty)]);
  		}
  
! 	void deallocate(allocator<_Ty>::pointer _Ptr, allocator<_Ty>::size_type)
  		{	// deallocate object at _Ptr, ignore size
  		_DELETE_CRT_VEC(_Ptr);
  		}
--- 76,95 ----
  	template<class _Other>
  		struct rebind
  		{	// convert _DebugHeapAllocator<_Ty> to _DebugHeapAllocator<_Other>
! 		typedef _DebugHeapAllocator<_Other> other;
  		};
  
! 	typename allocator<_Ty>::pointer allocate(typename allocator<_Ty>::size_type _Count, const void *)
  		{	// allocate array of _Count elements, ignore hint
  		return ((_Ty *)_NEW_CRT char[_Count * sizeof(_Ty)]);
  		}
  
! 	typename allocator<_Ty>::pointer allocate(typename allocator<_Ty>::size_type _Count)
  		{	// allocate array of _Count elements
  		return ((_Ty *)_NEW_CRT char[_Count * sizeof(_Ty)]);
  		}
  
! 	void deallocate(typename allocator<_Ty>::pointer _Ptr, typename allocator<_Ty>::size_type)
  		{	// deallocate object at _Ptr, ignore size
  		_DELETE_CRT_VEC(_Ptr);
  		}
Index: xlocale
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/xlocale,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** xlocale	10 Jun 2003 16:12:29 -0000	1.1
--- xlocale	10 Jun 2003 17:36:05 -0000	1.2
***************
*** 13,18 ****
--- 13,21 ----
  #pragma warning(push,3)
  
  _STD_BEGIN
+ class _CRTIMP2 locale;
+ template<class _Elem> class collate;
+ template<class _Facet> const _Facet& __cdecl use_facet(const locale& _Loc);
  
  		// TEMPLATE CLASS _Locbase
  template<class _Dummy>
Index: xstddef
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/xstddef,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** xstddef	10 Jun 2003 16:12:29 -0000	1.1
--- xstddef	10 Jun 2003 17:36:05 -0000	1.2
*************** _STD_BEGIN
*** 24,30 ****
   #define _RERAISE	throw
  
   #define _THROW0()	throw ()
!  #define _THROW1(x)	throw (...)
   #define _THROW(x, y)	throw x(y)
  
   #else /* _HAS_EXCEPTIONS */
--- 24,30 ----
   #define _RERAISE	throw
  
   #define _THROW0()	throw ()
!  #define _THROW1(x)	throw (x)
   #define _THROW(x, y)	throw x(y)
  
   #else /* _HAS_EXCEPTIONS */
Index: xstring
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/xstring,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** xstring	10 Jun 2003 16:12:29 -0000	1.1
--- xstring	21 Oct 2007 19:58:10 -0000	1.2
*************** template<class _Elem,
*** 1547,1553 ****
  	class _Alloc>
  	const typename basic_string<_Elem, _Traits, _Alloc>::size_type
  		basic_string<_Elem, _Traits, _Alloc>::npos =
! 			(basic_string<_Elem, _Traits, _Alloc>::size_type)(-1);
  
  template<class _Elem,
  	class _Traits,
--- 1547,1553 ----
  	class _Alloc>
  	const typename basic_string<_Elem, _Traits, _Alloc>::size_type
  		basic_string<_Elem, _Traits, _Alloc>::npos =
! 			(typename basic_string<_Elem, _Traits, _Alloc>::size_type)(-1);
  
  template<class _Elem,
  	class _Traits,
Index: yvals.h
===================================================================
RCS file: /cvsroot/GxInclude/Vc71/Include/yvals.h,v
retrieving revision 1.1
retrieving revision 1.3
diff -c -3 -p -r1.1 -r1.3
*** yvals.h	10 Jun 2003 16:12:29 -0000	1.1
--- yvals.h	18 Mar 2005 22:21:50 -0000	1.3
*************** _STD_END
*** 121,128 ****
  		/* VC++ COMPILER PARAMETERS */
  #define _LONGLONG	__int64
  #define _ULONGLONG	unsigned __int64
! #define _LLONG_MAX	0x7fffffffffffffff
! #define _ULLONG_MAX	0xffffffffffffffff
  
  		/* INTEGER PROPERTIES */
  #define _C2			1	/* 0 if not 2's complement */
--- 121,128 ----
  		/* VC++ COMPILER PARAMETERS */
  #define _LONGLONG	__int64
  #define _ULONGLONG	unsigned __int64
! #define _LLONG_MAX	0x7fffffffffffffffi64
! #define _ULLONG_MAX	0xffffffffffffffffui64
  
  		/* INTEGER PROPERTIES */
  #define _C2			1	/* 0 if not 2's complement */