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
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
|
*** misc/spirit-1.6.1/boost/spirit/core/composite/actions.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/composite/actions.hpp Wed Dec 5 10:08:58 2007
***************
*** 11,16 ****
--- 11,21 ----
#ifndef BOOST_SPIRIT_ACTIONS_HPP
#define BOOST_SPIRIT_ACTIONS_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
#include <algorithm>
***************
*** 345,349 ****
--- 350,358 ----
}
}} // namespace boost::spirit
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/core/composite/composite.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/composite/composite.hpp Wed Dec 5 10:08:58 2007
***************
*** 65,75 ****
unary(BaseT const& base)
: base_t(base) {}
! unary(param_t s)
! : base_t(s) {}
! unary(BaseT const& base, param_t s)
! : base_t(base, s) {}
return_t
subject() const
--- 65,75 ----
unary(BaseT const& base)
: base_t(base) {}
! unary(param_t _s)
! : base_t(_s) {}
! unary(BaseT const& _base, param_t _s)
! : base_t(_base, _s) {}
return_t
subject() const
*** misc/spirit-1.6.1/boost/spirit/core/composite/epsilon.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/composite/epsilon.hpp Wed Dec 5 10:08:58 2007
***************
*** 12,17 ****
--- 12,22 ----
#ifndef BOOST_SPIRIT_EPSILON_HPP
#define BOOST_SPIRIT_EPSILON_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
////////////////////////////////////////////////////////////////////////////////
#if !defined(BOOST_SPIRIT_PARSER_HPP)
#include "boost/spirit/core/parser.hpp"
***************
*** 70,76 ****
private:
};
! #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) // VC 7.1
template <typename CondT>
inline condition_parser<CondT, false>
operator~(condition_parser<CondT, true> const& p)
--- 75,81 ----
private:
};
! #if BOOST_WORKAROUND(BOOST_MSVC, == 1310) || BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x550))
template <typename CondT>
inline condition_parser<CondT, false>
operator~(condition_parser<CondT, true> const& p)
***************
*** 287,291 ****
--- 292,300 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/core/composite/impl/composite.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/composite/impl/composite.ipp Wed Dec 5 10:08:58 2007
***************
*** 112,120 ****
typedef typename base_t::return_t return_t;
subject() : base_t() {}
! subject(BaseT const& base) : base_t(base) {}
! subject(param_t s) : base_t(s) {}
! subject(BaseT const& base, param_t s) : base_t(base, s) {}
};
//////////////////////////////////
--- 112,120 ----
typedef typename base_t::return_t return_t;
subject() : base_t() {}
! subject(BaseT const& _base) : base_t(_base) {}
! subject(param_t _s) : base_t(_s) {}
! subject(BaseT const& _base, param_t _s) : base_t(_base, _s) {}
};
//////////////////////////////////
***************
*** 126,134 ****
typedef typename base_t::return_t return_t;
left_subject() : base_t() {}
! left_subject(BaseT const& base) : base_t(base) {}
! left_subject(param_t s) : base_t(s) {}
! left_subject(BaseT const& base, param_t s) : base_t(base, s) {}
return_t
left() const { return base_t::get(); }
--- 126,134 ----
typedef typename base_t::return_t return_t;
left_subject() : base_t() {}
! left_subject(BaseT const& _base) : base_t(_base) {}
! left_subject(param_t _s) : base_t(_s) {}
! left_subject(BaseT const& _base, param_t _s) : base_t(_base, _s) {}
return_t
left() const { return base_t::get(); }
***************
*** 143,151 ****
typedef typename base_t::return_t return_t;
right_subject() : base_t() {}
! right_subject(BaseT const& base) : base_t(base) {}
! right_subject(param_t s) : base_t(s) {}
! right_subject(BaseT const& base, param_t s) : base_t(base, s) {}
return_t
right() const { return base_t::get(); }
--- 143,151 ----
typedef typename base_t::return_t return_t;
right_subject() : base_t() {}
! right_subject(BaseT const& _base) : base_t(_base) {}
! right_subject(param_t _s) : base_t(_s) {}
! right_subject(BaseT const& _base, param_t _s) : base_t(_base, _s) {}
return_t
right() const { return base_t::get(); }
*** misc/spirit-1.6.1/boost/spirit/core/composite/impl/operators.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/composite/impl/operators.ipp Wed Dec 5 10:08:58 2007
***************
*** 12,17 ****
--- 12,21 ----
#if !defined(BOOST_SPIRIT_OPERATORS_IPP)
#define BOOST_SPIRIT_OPERATORS_IPP
+ #if defined __SUNPRO_CC
+ #pragma disable_warn
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
namespace boost { namespace spirit {
***************
*** 664,668 ****
--- 668,676 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined __SUNPRO_CC
+ #pragma enable_warn
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/core/impl/match.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/impl/match.ipp Wed Dec 5 10:08:58 2007
***************
*** 154,167 ****
{ return nil_t(); }
};
! #if !defined(__BORLANDC__)
struct dummy { void nonnull() {}; };
typedef void (dummy::*safe_bool)();
#else
typedef bool safe_bool;
#endif
! #if !defined(__BORLANDC__)
#define BOOST_SPIRIT_SAFE_BOOL(cond) ((cond) ? &impl::dummy::nonnull : 0)
#else
#define BOOST_SPIRIT_SAFE_BOOL(cond) (cond)
--- 154,167 ----
{ return nil_t(); }
};
! #if !defined(__BORLANDC__) && !defined(__SUNPRO_CC) // workaround opt bug when compiling with -xO3
struct dummy { void nonnull() {}; };
typedef void (dummy::*safe_bool)();
#else
typedef bool safe_bool;
#endif
! #if !defined(__BORLANDC__) && !defined(__SUNPRO_CC) // workaround opt bug when compiling with -xO3
#define BOOST_SPIRIT_SAFE_BOOL(cond) ((cond) ? &impl::dummy::nonnull : 0)
#else
#define BOOST_SPIRIT_SAFE_BOOL(cond) (cond)
*** misc/spirit-1.6.1/boost/spirit/core/impl/parser.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/impl/parser.ipp Wed Dec 5 10:08:58 2007
***************
*** 11,16 ****
--- 11,20 ----
#if !defined(BOOST_SPIRIT_PARSER_IPP)
#define BOOST_SPIRIT_PARSER_IPP
+ #if defined __SUNPRO_CC
+ #pragma disable_warn
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
namespace boost { namespace spirit {
***************
*** 51,56 ****
--- 55,64 ----
}
}} // namespace boost::spirit
+
+ #if defined __SUNPRO_CC
+ #pragma enable_warn
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/core/match.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/match.hpp Wed Dec 5 10:08:58 2007
***************
*** 60,70 ****
: len(-1), val(impl::match_attr<T>::get_default()) {}
explicit
! match(unsigned length)
! : len(length), val((impl::match_attr<T>::get_default())) {}
! match(unsigned length, param_type val_)
! : len(length), val(val_) {}
operator impl::safe_bool() const
{ return BOOST_SPIRIT_SAFE_BOOL(len >= 0); }
--- 60,70 ----
: len(-1), val(impl::match_attr<T>::get_default()) {}
explicit
! match(unsigned _length)
! : len(_length), val((impl::match_attr<T>::get_default())) {}
! match(unsigned _length, param_type val_)
! : len(_length), val(val_) {}
operator impl::safe_bool() const
{ return BOOST_SPIRIT_SAFE_BOOL(len >= 0); }
***************
*** 120,130 ****
: len(-1) {}
explicit
! match(unsigned length)
! : len(length) {}
! match(unsigned length, nil_t)
! : len(length) {}
operator impl::safe_bool() const
{ return BOOST_SPIRIT_SAFE_BOOL(len >= 0); }
--- 120,130 ----
: len(-1) {}
explicit
! match(unsigned _length)
! : len(_length) {}
! match(unsigned _length, nil_t)
! : len(_length) {}
operator impl::safe_bool() const
{ return BOOST_SPIRIT_SAFE_BOOL(len >= 0); }
*** misc/spirit-1.6.1/boost/spirit/core/meta/impl/fundamental.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/meta/impl/fundamental.ipp Wed Dec 5 10:08:58 2007
***************
*** 11,16 ****
--- 11,20 ----
#if !defined(BOOST_SPIRIT_FUNDAMENTAL_IPP)
#define BOOST_SPIRIT_FUNDAMENTAL_IPP
+ #if defined __SUNPRO_CC
+ #pragma disable_warn
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
namespace boost { namespace spirit {
***************
*** 302,306 ****
--- 306,314 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined __SUNPRO_CC
+ #pragma enable_warn
+ #endif
#endif // !defined(BOOST_SPIRIT_FUNDAMENTAL_IPP)
*** misc/spirit-1.6.1/boost/spirit/core/non_terminal/impl/grammar.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/non_terminal/impl/grammar.ipp Wed Dec 5 10:08:58 2007
***************
*** 243,249 ****
//////////////////////////////////
template<typename GrammarT>
inline void
! grammar_destruct(GrammarT* self)
{
#if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE)
typedef impl::grammar_helper_base<GrammarT> helper_base_t;
--- 243,255 ----
//////////////////////////////////
template<typename GrammarT>
inline void
! grammar_destruct(GrammarT*
! #if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE)
! # if !defined(__GNUC__) || (__GNUC__ > 2)
! self
! #endif
! #endif
! )
{
#if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE)
typedef impl::grammar_helper_base<GrammarT> helper_base_t;
*** misc/spirit-1.6.1/boost/spirit/core/non_terminal/subrule.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/non_terminal/subrule.hpp Wed Dec 5 10:08:58 2007
***************
*** 228,234 ****
subrule_list<
subrule_parser<ID2, DefT2, ContextT2>,
nil_t> >
! operator,(subrule_parser<ID2, DefT2, ContextT2> const& rhs) const
{
return subrule_list<
self_t,
--- 228,234 ----
subrule_list<
subrule_parser<ID2, DefT2, ContextT2>,
nil_t> >
! operator,(subrule_parser<ID2, DefT2, ContextT2> const& _rhs) const
{
return subrule_list<
self_t,
***************
*** 238,244 ****
*this,
subrule_list<
subrule_parser<ID2, DefT2, ContextT2>, nil_t>(
! rhs, nil_t()));
}
typename DefT::embed_t rhs;
--- 238,244 ----
*this,
subrule_list<
subrule_parser<ID2, DefT2, ContextT2>, nil_t>(
! _rhs, nil_t()));
}
typename DefT::embed_t rhs;
***************
*** 276,285 ****
parse_main(ScannerT const& scan) const
{
typedef typename parser_result<self_t, ScannerT>::type result_t;
! result_t result;
impl::parse_subrule<result_t, ScannerT, ID>::
! do_(result, scan);
! return result;
}
template <typename ScannerT>
--- 276,285 ----
parse_main(ScannerT const& scan) const
{
typedef typename parser_result<self_t, ScannerT>::type result_t;
! result_t _result;
impl::parse_subrule<result_t, ScannerT, ID>::
! do_(_result, scan);
! return _result;
}
template <typename ScannerT>
*** misc/spirit-1.6.1/boost/spirit/core/scanner/impl/skipper.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/scanner/impl/skipper.ipp Wed Dec 5 10:08:58 2007
***************
*** 11,16 ****
--- 11,20 ----
#if !defined(BOOST_SPIRIT_SKIPPER_IPP)
#define BOOST_SPIRIT_SKIPPER_IPP
+ #if defined __SUNPRO_CC
+ #pragma disable_warn
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
namespace boost { namespace spirit {
***************
*** 175,180 ****
--- 179,188 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined __SUNPRO_CC
+ #pragma enable_warn
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/core/scanner/scanner.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/core/scanner/scanner.hpp Wed Dec 5 10:08:58 2007
***************
*** 18,23 ****
--- 18,26 ----
#include <iterator>
#include "boost/config.hpp"
+ #ifdef BOOST_NO_STD_ITERATOR_TRAITS
+ #include "boost/iterator_adaptors.hpp"
+ #endif
#include "boost/spirit/core/match.hpp"
#include "boost/spirit/core/non_terminal/parser_id.hpp"
***************
*** 236,245 ****
--- 239,255 ----
typedef IteratorT iterator_t;
typedef PoliciesT policies_t;
+ #ifdef BOOST_NO_STD_ITERATOR_TRAITS
+ typedef typename boost::detail::iterator_traits<IteratorT>::value_type
+ value_t;
+ typedef typename boost::detail::iterator_traits<IteratorT>::reference
+ ref_t;
+ #else
typedef typename BOOST_SPIRIT_IT_NS::iterator_traits<IteratorT>::value_type
value_t;
typedef typename BOOST_SPIRIT_IT_NS::iterator_traits<IteratorT>::reference
ref_t;
+ #endif
typedef typename boost::call_traits<IteratorT>::param_type
iter_param_t;
***************
*** 260,281 ****
bool
at_end() const
{
! typedef typename PoliciesT::iteration_policy_t iteration_policy_t;
! return iteration_policy_t::at_end(*this);
}
value_t
operator*() const
{
! typedef typename PoliciesT::iteration_policy_t iteration_policy_t;
! return iteration_policy_t::filter(iteration_policy_t::get(*this));
}
scanner const&
operator++() const
{
! typedef typename PoliciesT::iteration_policy_t iteration_policy_t;
! iteration_policy_t::advance(*this);
return *this;
}
--- 270,291 ----
bool
at_end() const
{
! typedef typename PoliciesT::iteration_policy_t _iteration_policy_t;
! return _iteration_policy_t::at_end(*this);
}
value_t
operator*() const
{
! typedef typename PoliciesT::iteration_policy_t _iteration_policy_t;
! return _iteration_policy_t::filter(_iteration_policy_t::get(*this));
}
scanner const&
operator++() const
{
! typedef typename PoliciesT::iteration_policy_t _iteration_policy_t;
! _iteration_policy_t::advance(*this);
return *this;
}
*** misc/spirit-1.6.1/boost/spirit/error_handling/exceptions.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/error_handling/exceptions.hpp Wed Dec 5 10:08:58 2007
***************
*** 38,44 ****
parser_error_base() {}
virtual ~parser_error_base() throw() {}
! parser_error_base(parser_error_base const&) {}
parser_error_base& operator=(parser_error_base const&)
{ return *this; }
};
--- 38,44 ----
parser_error_base() {}
virtual ~parser_error_base() throw() {}
! parser_error_base(parser_error_base const&) : std::exception() {}
parser_error_base& operator=(parser_error_base const&)
{ return *this; }
};
***************
*** 104,111 ****
typedef unary<ParserT, parser<self_t> > base_t;
typedef unary_parser_category parser_category_t;
! assertive_parser(ParserT const& parser, ErrorDescrT descriptor)
! : base_t(parser), descriptor(descriptor) {}
template <typename ScannerT>
struct result
--- 104,111 ----
typedef unary<ParserT, parser<self_t> > base_t;
typedef unary_parser_category parser_category_t;
! assertive_parser(ParserT const& parser, ErrorDescrT desc)
! : base_t(parser), descriptor(desc) {}
template <typename ScannerT>
struct result
***************
*** 200,208 ****
error_status(
result_t result_ = fail,
! int length = -1,
T const& value_ = T())
! : result(result_), length(length), value(value_) {}
result_t result;
int length;
--- 200,208 ----
error_status(
result_t result_ = fail,
! int length_ = -1,
T const& value_ = T())
! : result(result_), length(length_), value(value_) {}
result_t result;
int length;
*** misc/spirit-1.6.1/boost/spirit/iterator/impl/file_iterator.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/iterator/impl/file_iterator.ipp Wed Dec 5 10:08:58 2007
***************
*** 24,29 ****
--- 24,33 ----
#if !defined FILE_ITERATOR_IPP
#define FILE_ITERATOR_IPP
+ #if defined __SUNPRO_CC
+ #pragma disable_warn
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
#include <cassert>
#include <fcntl.h>
***************
*** 489,493 ****
--- 493,501 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined __SUNPRO_CC
+ #pragma enable_warn
+ #endif
#endif // #if !defined FILE_ITERATOR_IPP
*** misc/spirit-1.6.1/boost/spirit/iterator/multi_pass.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/iterator/multi_pass.hpp Wed Dec 5 10:08:58 2007
***************
*** 11,16 ****
--- 11,21 ----
#ifndef BOOST_SPIRIT_ITERATOR_MULTI_PASS_HPP
#define BOOST_SPIRIT_ITERATOR_MULTI_PASS_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include <boost/config.hpp>
#include <boost/throw_exception.hpp>
#include <boost/detail/workaround.hpp>
***************
*** 1313,1317 ****
--- 1318,1327 ----
#undef BOOST_SPIRIT_IT_NS
#endif // defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
+
#endif // BOOST_SPIRIT_ITERATOR_MULTI_PASS_HPP
*** misc/spirit-1.6.1/boost/spirit/utility/chset.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/utility/chset.hpp Wed Dec 5 10:08:58 2007
***************
*** 12,17 ****
--- 12,22 ----
#ifndef BOOST_SPIRIT_CHSET_HPP
#define BOOST_SPIRIT_CHSET_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
#include <boost/shared_ptr.hpp>
#include <boost/spirit/core/primitives/primitives.hpp>
***************
*** 229,234 ****
--- 234,243 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/utility/chset_operators.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/utility/chset_operators.hpp Wed Dec 5 10:08:58 2007
***************
*** 12,17 ****
--- 12,22 ----
#ifndef BOOST_SPIRIT_CHSET_OPERATORS_HPP
#define BOOST_SPIRIT_CHSET_OPERATORS_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
#include <boost/spirit/utility/chset.hpp>
*** misc/spirit-1.6.1/boost/spirit/utility/confix.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/utility/confix.hpp Wed Dec 5 10:08:58 2007
***************
*** 389,395 ****
as_parser<OpenT>::convert(open),
as_parser<CloseT>::convert(close)
);
! };
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
--- 389,395 ----
as_parser<OpenT>::convert(open),
as_parser<CloseT>::convert(close)
);
! }
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
*** misc/spirit-1.6.1/boost/spirit/utility/functor_parser.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/utility/functor_parser.hpp Wed Dec 5 10:08:58 2007
***************
*** 54,66 ****
typedef typename ScannerT::iterator_t iterator_t;
iterator_t const s(scan.first);
! functor_result_t result;
! int const len = functor(scan, result);
if (len < 0)
return scan.no_match();
else
! return scan.create_match(len, result, s, scan.first);
}
};
--- 54,66 ----
typedef typename ScannerT::iterator_t iterator_t;
iterator_t const s(scan.first);
! functor_result_t res;
! int const len = functor(scan, res);
if (len < 0)
return scan.no_match();
else
! return scan.create_match(len, res, s, scan.first);
}
};
*** misc/spirit-1.6.1/boost/spirit/utility/impl/chset.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/utility/impl/chset.ipp Wed Dec 5 10:08:58 2007
***************
*** 12,17 ****
--- 12,22 ----
#ifndef BOOST_SPIRIT_CHSET_IPP
#define BOOST_SPIRIT_CHSET_IPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
#include <boost/limits.hpp>
#include <boost/spirit/utility/chset.hpp>
***************
*** 359,364 ****
--- 364,373 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/utility/impl/chset_operators.ipp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/utility/impl/chset_operators.ipp Wed Dec 5 10:08:58 2007
***************
*** 11,16 ****
--- 11,21 ----
#ifndef BOOST_SPIRIT_CHSET_OPERATORS_IPP
#define BOOST_SPIRIT_CHSET_OPERATORS_IPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
///////////////////////////////////////////////////////////////////////////////
#include <boost/limits.hpp>
***************
*** 659,664 ****
--- 664,673 ----
///////////////////////////////////////////////////////////////////////////////
}} // namespace boost::spirit
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif
*** misc/spirit-1.6.1/boost/spirit/utility/loops.hpp Tue Jul 8 04:19:06 2003
--- misc/build/spirit-1.6.1/boost/spirit/utility/loops.hpp Wed Dec 5 10:08:58 2007
***************
*** 47,54 ****
typedef fixed_loop<ParserT, ExactT> self_t;
typedef unary<ParserT, parser<self_t> > base_t;
! fixed_loop (ParserT const & subject, ExactT const & exact)
! : base_t(subject), m_exact(exact) {}
template <typename ScannerT>
typename parser_result <self_t, ScannerT>::type
--- 47,54 ----
typedef fixed_loop<ParserT, ExactT> self_t;
typedef unary<ParserT, parser<self_t> > base_t;
! fixed_loop (ParserT const & subject_, ExactT const & exact_)
! : base_t(subject_), m_exact(exact_) {}
template <typename ScannerT>
typename parser_result <self_t, ScannerT>::type
*** misc/spirit-1.6.1/miniboost/boost/concept_check.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/concept_check.hpp Wed Dec 5 10:08:58 2007
***************
*** 708,719 ****
function_requires< AssignableConcept<Container> >();
const_constraints(c);
}
! void const_constraints(const Container& c) {
! i = c.begin();
! i = c.end();
! n = c.size();
! n = c.max_size();
! b = c.empty();
}
Container c;
bool b;
--- 708,719 ----
function_requires< AssignableConcept<Container> >();
const_constraints(c);
}
! void const_constraints(const Container& cnr) {
! i = cnr.begin();
! i = cnr.end();
! n = cnr.size();
! n = cnr.max_size();
! b = cnr.empty();
}
Container c;
bool b;
***************
*** 777,785 ****
BidirectionalIteratorConcept<const_reverse_iterator> >();
const_constraints(c);
}
! void const_constraints(const ReversibleContainer& c) {
! const_reverse_iterator i = c.rbegin();
! i = c.rend();
}
ReversibleContainer c;
};
--- 777,785 ----
BidirectionalIteratorConcept<const_reverse_iterator> >();
const_constraints(c);
}
! void const_constraints(const ReversibleContainer& cnr) {
! const_reverse_iterator i = cnr.rbegin();
! i = cnr.rend();
}
ReversibleContainer c;
};
***************
*** 821,828 ****
const_constraints(c);
}
! void const_constraints(const RandomAccessContainer& c) {
! const_reference r = c[n];
ignore_unused_variable_warning(r);
}
RandomAccessContainer c;
--- 821,828 ----
const_constraints(c);
}
! void const_constraints(const RandomAccessContainer& cnr) {
! const_reference r = cnr[n];
ignore_unused_variable_warning(r);
}
RandomAccessContainer c;
***************
*** 925,932 ****
reference r = c.back();
ignore_unused_variable_warning(r);
}
! void const_constraints(const BackInsertionSequence& c) {
! const_reference r = c.back();
ignore_unused_variable_warning(r);
};
BackInsertionSequence c;
--- 925,932 ----
reference r = c.back();
ignore_unused_variable_warning(r);
}
! void const_constraints(const BackInsertionSequence& cnr) {
! const_reference r = cnr.back();
ignore_unused_variable_warning(r);
};
BackInsertionSequence c;
***************
*** 947,956 ****
c.erase(r.first, r.second);
const_constraints(c);
}
! void const_constraints(const AssociativeContainer& c) {
! ci = c.find(k);
! n = c.count(k);
! cr = c.equal_range(k);
}
typedef typename AssociativeContainer::iterator iterator;
typedef typename AssociativeContainer::const_iterator const_iterator;
--- 947,956 ----
c.erase(r.first, r.second);
const_constraints(c);
}
! void const_constraints(const AssociativeContainer& cnr) {
! ci = cnr.find(k);
! n = cnr.count(k);
! cr = cnr.equal_range(k);
}
typedef typename AssociativeContainer::iterator iterator;
typedef typename AssociativeContainer::const_iterator const_iterator;
*** misc/spirit-1.6.1/miniboost/boost/config/compiler/gcc.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/config/compiler/gcc.hpp Wed Dec 5 10:08:58 2007
***************
*** 59,65 ****
#endif
//
// last known and checked version is 3.2:
! #if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 2))
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# else
--- 59,66 ----
#endif
//
// last known and checked version is 3.2:
! // although 3.4+x & 4.x are unchecked, we will give it a try
! #if (__GNUC__ > 4)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# else
*** misc/spirit-1.6.1/miniboost/boost/config/compiler/sunpro_cc.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/config/compiler/sunpro_cc.hpp Wed Dec 5 10:08:58 2007
***************
*** 45,52 ****
# define BOOST_NO_INTEGRAL_INT64_T
# endif
! # if (__SUNPRO_CC <= 0x540) || !defined(BOOST_STRICT_CONFIG)
# define BOOST_NO_TEMPLATE_TEMPLATES
# endif
#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
--- 45,57 ----
# define BOOST_NO_INTEGRAL_INT64_T
# endif
! # if (__SUNPRO_CC <= 0x550) || !defined(BOOST_STRICT_CONFIG)
# define BOOST_NO_TEMPLATE_TEMPLATES
+ // see http://lists.boost.org/MailArchives/boost/msg47184.php
+ // and http://lists.boost.org/MailArchives/boost/msg47220.php
+ # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
+ # define BOOST_NO_SFINAE
+ # define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
# endif
#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
*** misc/spirit-1.6.1/miniboost/boost/config/compiler/visualc.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/config/compiler/visualc.hpp Wed Dec 5 10:12:34 2007
***************
*** 65,75 ****
# define BOOST_NO_INTRINSIC_WCHAR_T
#endif
! //
! // check for exception handling support:
! #ifndef _CPPUNWIND
! # define BOOST_NO_EXCEPTIONS
! #endif
//
// __int64 support:
--- 65,75 ----
# define BOOST_NO_INTRINSIC_WCHAR_T
#endif
! //
! // check for exception handling support:
! #ifndef _CPPUNWIND
! # define BOOST_NO_EXCEPTIONS
! #endif
//
// __int64 support:
***************
*** 94,99 ****
--- 94,101 ----
# define BOOST_COMPILER_VERSION 7.0
# elif _MSC_VER == 1310
# define BOOST_COMPILER_VERSION 7.1
+ # elif _MSC_VER == 1400
+ # define BOOST_COMPILER_VERSION 8.0
# else
# define BOOST_COMPILER_VERSION _MSC_VER
# endif
***************
*** 108,121 ****
#endif
//
// last known and checked version is 1310:
! #if (_MSC_VER > 1310)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# else
# pragma message("Unknown compiler version - please run the configure tests and report the results")
# endif
#endif
-
--- 110,122 ----
#endif
//
// last known and checked version is 1310:
! #if (_MSC_VER > 1500)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# else
# pragma message("Unknown compiler version - please run the configure tests and report the results")
# endif
#endif
*** misc/spirit-1.6.1/miniboost/boost/config/platform/macos.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/config/platform/macos.hpp Wed Dec 5 10:08:58 2007
***************
*** 19,27 ****
# define BOOST_HAS_UNISTD_H
# endif
// boilerplate code:
! # ifndef TARGET_CARBON
# include <boost/config/posix_features.hpp>
! # endif
# ifndef BOOST_HAS_STDINT_H
# define BOOST_HAS_STDINT_H
# endif
--- 19,28 ----
# define BOOST_HAS_UNISTD_H
# endif
// boilerplate code:
! // See issue #i72248#
! //# ifndef TARGET_CARBON
# include <boost/config/posix_features.hpp>
! //# endif
# ifndef BOOST_HAS_STDINT_H
# define BOOST_HAS_STDINT_H
# endif
*** misc/spirit-1.6.1/miniboost/boost/config/platform/win32.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/config/platform/win32.hpp Wed Dec 5 10:08:58 2007
***************
*** 40,45 ****
--- 40,46 ----
# define NOMINMAX
#endif
+ #if (_MSC_VER < 1400)
#ifdef BOOST_MSVC
namespace std{
// Apparently, something in the Microsoft libraries requires the "long"
***************
*** 65,67 ****
--- 66,69 ----
using std::min;
using std::max;
# endif
+ #endif
*** misc/spirit-1.6.1/miniboost/boost/config/user.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/config/user.hpp Wed Dec 5 10:08:58 2007
***************
*** 66,68 ****
--- 66,74 ----
// #define BOOST_DISABLE_WIN32
+ // Switch off exception statements if file is compiled without
+ // exception support:
+ #if defined(EXCEPTIONS_OFF) && !defined(BOOST_NO_EXCEPTIONS)
+ #define BOOST_NO_EXCEPTIONS
+ #endif
+
*** misc/spirit-1.6.1/miniboost/boost/iterator_adaptors.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/iterator_adaptors.hpp Wed Dec 5 10:08:58 2007
***************
*** 119,124 ****
--- 119,129 ----
#ifndef BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_
# define BOOST_ITERATOR_ADAPTOR_DWA053000_HPP_
+ # if defined _MSC_VER
+ # pragma warning(push)
+ # pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ # endif
+
# include <boost/iterator.hpp>
# include <boost/utility.hpp>
# include <boost/compressed_pair.hpp>
***************
*** 873,879 ****
return policies().dereference(*this);
}
! #if BOOST_WORKAROUND(BOOST_MSVC, > 0)
# pragma warning(push)
# pragma warning( disable : 4284 )
#endif
--- 878,884 ----
return policies().dereference(*this);
}
! #if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
# pragma warning(push)
# pragma warning( disable : 4284 )
#endif
***************
*** 882,888 ****
operator->() const
{ return detail::operator_arrow(*this, iterator_category()); }
! #if BOOST_WORKAROUND(BOOST_MSVC, > 0)
# pragma warning(pop)
#endif
--- 887,893 ----
operator->() const
{ return detail::operator_arrow(*this, iterator_category()); }
! #if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
# pragma warning(pop)
#endif
***************
*** 1430,1435 ****
--- 1435,1443 ----
} // namespace boost
# undef BOOST_ARG_DEPENDENT_TYPENAME
+ # if defined _MSC_VER
+ # pragma warning(pop)
+ # endif
#endif
*** misc/spirit-1.6.1/miniboost/boost/mpl/aux_/ice_cast.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/aux_/ice_cast.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
#ifndef BOOST_MPL_AUX_ICE_CAST_HPP_INCLUDED
#define BOOST_MPL_AUX_ICE_CAST_HPP_INCLUDED
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/aux_/config/workaround.hpp"
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x561)) \
***************
*** 26,31 ****
--- 31,40 ----
# define BOOST_MPL_AUX_ICE_CAST(T, expr) (T)(expr)
#else
# define BOOST_MPL_AUX_ICE_CAST(T, expr) static_cast<T>(expr)
+ #endif
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
#endif
#endif // BOOST_MPL_AUX_ICE_CAST_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/mpl/aux_/integral_wrapper.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/aux_/integral_wrapper.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
// no include guards, the header is intended for multiple inclusion!
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/aux_/ice_cast.hpp"
#include "boost/mpl/aux_/config/nttp.hpp"
#include "boost/mpl/aux_/config/static_constant.hpp"
***************
*** 84,86 ****
--- 89,95 ----
#undef AUX_WRAPPER_PARAMS
#undef AUX_WRAPPER_INST
#undef AUX_WRAPPER_VALUE_TYPE
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
*** misc/spirit-1.6.1/miniboost/boost/mpl/aux_/lambda_support.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/aux_/lambda_support.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
#ifndef BOOST_MPL_AUX_LAMBDA_SUPPORT_HPP_INCLUDED
#define BOOST_MPL_AUX_LAMBDA_SUPPORT_HPP_INCLUDED
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/aux_/config/lambda.hpp"
#if !defined(BOOST_MPL_NO_FULL_LAMBDA_SUPPORT)
***************
*** 132,136 ****
--- 137,145 ----
#endif // __EDG_VERSION__
#endif // BOOST_MPL_NO_FULL_LAMBDA_SUPPORT
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_MPL_AUX_LAMBDA_SUPPORT_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/mpl/aux_/logical_op.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/aux_/logical_op.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
// no include guards, the header is intended for multiple inclusion!
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
# include "boost/mpl/bool.hpp"
# include "boost/mpl/aux_/nested_type_wknd.hpp"
***************
*** 167,169 ****
--- 172,178 ----
#undef AUX_LOGICAL_OP_NAME
#undef AUX_LOGICAL_OP_VALUE1
#undef AUX_LOGICAL_OP_VALUE2
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
*** misc/spirit-1.6.1/miniboost/boost/mpl/if.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/if.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
//
// See http://www.boost.org/libs/mpl for documentation.
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/aux_/value_wknd.hpp"
#include "boost/mpl/aux_/ice_cast.hpp"
#include "boost/mpl/aux_/void_spec.hpp"
***************
*** 173,177 ****
--- 178,186 ----
} // namespace mpl
} // namespace boost
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_MPL_IF_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/mpl/integral_c.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/integral_c.hpp Wed Dec 5 10:08:58 2007
***************
*** 18,23 ****
--- 18,28 ----
//
// See http://www.boost.org/libs/mpl for documentation.
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/integral_c_fwd.hpp"
#include "boost/mpl/aux_/ice_cast.hpp"
#include "boost/mpl/aux_/config/ctps.hpp"
***************
*** 48,53 ****
--- 53,62 ----
operator bool() const { return this->value; }
};
}}
+ #endif
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
#endif
#endif // BOOST_MPL_INTEGRAL_C_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/mpl/integral_c_fwd.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/integral_c_fwd.hpp Wed Dec 5 10:08:58 2007
***************
*** 18,23 ****
--- 18,28 ----
//
// See http://www.boost.org/libs/mpl for documentation.
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/aux_/config/workaround.hpp"
namespace boost { namespace mpl {
***************
*** 28,32 ****
--- 33,41 ----
template< typename T, T N > struct integral_c;
#endif
}}
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_MPL_INTEGRAL_C_FWD_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/mpl/is_sequence.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/is_sequence.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
#ifndef BOOST_MPL_IS_SEQUENCE_HPP_INCLUDED
#define BOOST_MPL_IS_SEQUENCE_HPP_INCLUDED
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/not.hpp"
#include "boost/mpl/or.hpp"
#include "boost/mpl/begin_end.hpp"
***************
*** 97,101 ****
--- 102,110 ----
BOOST_MPL_AUX_VOID_SPEC(1, is_sequence)
}} // namespace boost::mpl
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_MPL_IS_SEQUENCE_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/mpl/sequence_tag.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/mpl/sequence_tag.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
#ifndef BOOST_MPL_SEQUENCE_TAG_HPP_INCLUDED
#define BOOST_MPL_SEQUENCE_TAG_HPP_INCLUDED
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/mpl/sequence_tag_fwd.hpp"
#include "boost/mpl/aux_/has_tag.hpp"
#include "boost/mpl/aux_/has_begin.hpp"
***************
*** 129,133 ****
--- 134,142 ----
BOOST_MPL_AUX_VOID_SPEC(1, sequence_tag)
}} // namespace boost::mpl
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_MPL_SEQUENCE_TAG_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/optional.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/optional.hpp Wed Dec 5 10:08:58 2007
***************
*** 17,22 ****
--- 17,27 ----
#ifndef BOOST_OPTIONAL_FLC_19NOV2002_HPP
#define BOOST_OPTIONAL_FLC_19NOV2002_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include<new>
#include<algorithm>
***************
*** 194,200 ****
--- 199,209 ----
// implicit conversion to "bool"
// No-throw
+ #if defined(__SUNPRO_CC) // workaround opt bug when compiling with -xO3
+ operator bool() const { return m_initialized; }
+ #else
operator unspecified_bool_type() const { return m_initialized ? &this_type::destroy : 0 ; }
+ #endif // defined(__SUNPRO_CC)
// This is provided for those compilers which don't like the conversion to bool
// on some contexts.
***************
*** 312,317 ****
--- 321,330 ----
} // namespace boost
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif
*** misc/spirit-1.6.1/miniboost/boost/scoped_array.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/scoped_array.hpp Wed Dec 5 10:08:58 2007
***************
*** 83,94 ****
--- 83,98 ----
// implicit conversion to "bool"
+ #if defined(__SUNPRO_CC) // workaround opt bug when compiling with -xO3
+ operator bool() const { return ptr != 0; }
+ #else
typedef T * (this_type::*unspecified_bool_type)() const;
operator unspecified_bool_type() const // never throws
{
return ptr == 0? 0: &this_type::get;
}
+ #endif // defined(__SUNPRO_CC)
bool operator! () const // never throws
{
*** misc/spirit-1.6.1/miniboost/boost/scoped_ptr.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/scoped_ptr.hpp Wed Dec 5 10:08:58 2007
***************
*** 102,113 ****
--- 102,117 ----
// implicit conversion to "bool"
+ #if defined(__SUNPRO_CC) // workaround opt bug when compiling with -xO3
+ operator bool() const { return ptr != 0; }
+ #else
typedef T * (this_type::*unspecified_bool_type)() const;
operator unspecified_bool_type() const // never throws
{
return ptr == 0? 0: &this_type::get;
}
+ #endif // defined(__SUNPRO_CC)
bool operator! () const // never throws
{
*** misc/spirit-1.6.1/miniboost/boost/shared_array.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/shared_array.hpp Wed Dec 5 10:08:58 2007
***************
*** 94,105 ****
--- 94,109 ----
// implicit conversion to "bool"
+ #if defined(__SUNPRO_CC) // workaround opt bug when compiling with -xO3
+ operator bool() const { return px != 0; }
+ #else
typedef T * (this_type::*unspecified_bool_type)() const;
operator unspecified_bool_type() const // never throws
{
return px == 0? 0: &this_type::get;
}
+ #endif // defined(__SUNPRO_CC)
bool operator! () const // never throws
{
*** misc/spirit-1.6.1/miniboost/boost/shared_ptr.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/shared_ptr.hpp Wed Dec 5 10:08:58 2007
***************
*** 35,41 ****
#ifdef BOOST_MSVC // moved here to work around VC++ compiler crash
# pragma warning(push)
! # pragma warning(disable:4284) // odd return type for operator->
#endif
namespace boost
--- 35,41 ----
#ifdef BOOST_MSVC // moved here to work around VC++ compiler crash
# pragma warning(push)
! # pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
#endif
namespace boost
***************
*** 246,257 ****
--- 246,261 ----
// implicit conversion to "bool"
+ #if defined(__SUNPRO_CC) // workaround opt bug when compiling with -xO3
+ operator bool() const { return px != 0; }
+ #else
typedef T * (this_type::*unspecified_bool_type)() const;
operator unspecified_bool_type() const // never throws
{
return px == 0? 0: &this_type::get;
}
+ #endif // defined(__SUNPRO_CC)
// operator! is redundant, but some compilers need it
*** misc/spirit-1.6.1/miniboost/boost/throw_exception.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/throw_exception.hpp Wed Dec 5 10:08:58 2007
***************
*** 29,35 ****
#ifdef BOOST_NO_EXCEPTIONS
! void throw_exception(std::exception const & e); // user defined
#else
--- 29,36 ----
#ifdef BOOST_NO_EXCEPTIONS
! // void throw_exception(std::exception const & e); // user defined
! inline void throw_exception(std::exception const &) {}
#else
*** misc/spirit-1.6.1/miniboost/boost/type_traits/add_reference.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/type_traits/add_reference.hpp Wed Dec 5 10:08:58 2007
***************
*** 10,15 ****
--- 10,20 ----
#ifndef BOOST_TT_ADD_REFERENCE_HPP_INCLUDED
#define BOOST_TT_ADD_REFERENCE_HPP_INCLUDED
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/type_traits/is_reference.hpp"
#include "boost/detail/workaround.hpp"
#include "boost/config.hpp"
***************
*** 86,90 ****
--- 91,99 ----
} // namespace boost
#include "boost/type_traits/detail/type_trait_undef.hpp"
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_TT_ADD_REFERENCE_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/type_traits/is_base_and_derived.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/type_traits/is_base_and_derived.hpp Wed Dec 5 10:08:58 2007
***************
*** 10,15 ****
--- 10,20 ----
#ifndef BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED
#define BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include "boost/type_traits/is_class.hpp"
#include "boost/type_traits/is_same.hpp"
#include "boost/type_traits/is_convertible.hpp"
***************
*** 203,207 ****
--- 208,216 ----
} // namespace boost
#include "boost/type_traits/detail/bool_trait_undef.hpp"
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_TT_IS_BASE_AND_DERIVED_HPP_INCLUDED
*** misc/spirit-1.6.1/miniboost/boost/type_traits/is_polymorphic.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/type_traits/is_polymorphic.hpp Wed Dec 5 10:08:58 2007
***************
*** 6,11 ****
--- 6,16 ----
#ifndef BOOST_TT_IS_POLYMORPHIC_HPP
#define BOOST_TT_IS_POLYMORPHIC_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
#include <boost/type_traits/is_class.hpp>
#include <boost/type_traits/remove_cv.hpp>
// should be the last #include
***************
*** 86,90 ****
--- 91,99 ----
} // namespace boost
#include "boost/type_traits/detail/bool_trait_undef.hpp"
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif
*** misc/spirit-1.6.1/miniboost/boost/type_traits/type_with_alignment.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/type_traits/type_with_alignment.hpp Wed Dec 5 10:08:58 2007
***************
*** 72,78 ****
#undef BOOST_TT_CHOOSE_MIN_ALIGNMENT
#undef BOOST_TT_CHOOSE_T
! template<int TAlign, int Align>
struct is_aligned
{
BOOST_STATIC_CONSTANT(bool,
--- 72,78 ----
#undef BOOST_TT_CHOOSE_MIN_ALIGNMENT
#undef BOOST_TT_CHOOSE_T
! template<std::size_t TAlign, std::size_t Align>
struct is_aligned
{
BOOST_STATIC_CONSTANT(bool,
***************
*** 93,99 ****
// This alignment method originally due to Brian Parker, implemented by David
// Abrahams, and then ported here by Doug Gregor.
! template <int Align>
class type_with_alignment
{
typedef detail::lower_alignment<Align> t1;
--- 93,99 ----
// This alignment method originally due to Brian Parker, implemented by David
// Abrahams, and then ported here by Doug Gregor.
! template <std::size_t Align>
class type_with_alignment
{
typedef detail::lower_alignment<Align> t1;
*** misc/spirit-1.6.1/miniboost/boost/utility/addressof.hpp Tue Jul 8 04:19:09 2003
--- misc/build/spirit-1.6.1/miniboost/boost/utility/addressof.hpp Wed Dec 5 10:08:58 2007
***************
*** 16,21 ****
--- 16,26 ----
#ifndef BOOST_UTILITY_ADDRESSOF_HPP
# define BOOST_UTILITY_ADDRESSOF_HPP
+ #if defined _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro"
+ #endif
+
# include <boost/config.hpp>
# include <boost/detail/workaround.hpp>
# if BOOST_WORKAROUND(BOOST_MSVC, == 1300)
***************
*** 39,43 ****
--- 44,52 ----
}
}
+
+ #if defined _MSC_VER
+ #pragma warning(pop)
+ #endif
#endif // BOOST_UTILITY_ADDRESSOF_HPP
*** misc/spirit-1.6.1/miniboost/boost/weak_ptr.hpp Tue Jul 8 04:19:08 2003
--- misc/build/spirit-1.6.1/miniboost/boost/weak_ptr.hpp Wed Dec 5 10:08:58 2007
***************
*** 16,26 ****
#include <boost/shared_ptr.hpp>
- #ifdef BOOST_MSVC // moved here to work around VC++ compiler crash
- # pragma warning(push)
- # pragma warning(disable:4284) // odd return type for operator->
- #endif
-
namespace boost
{
--- 16,21 ----
***************
*** 185,193 ****
}
} // namespace boost
-
- #ifdef BOOST_MSVC
- # pragma warning(pop)
- #endif
#endif // #ifndef BOOST_WEAK_PTR_HPP_INCLUDED
--- 180,184 ----
|