Changeset 321
- Timestamp:
- Jun 11, 2003, 9:44:08 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/emx/src/emxomf/stabshll.c (modified) (9 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/emxomf/stabshll.c
-
Property cvs2svn:cvs-rev
changed from
1.9to1.10
r320 r321 21 21 22 22 23 24 25 23 26 #include <stdio.h> 24 27 #include <stdlib.h> … … 31 34 #include "stabshll.h" 32 35 36 37 38 39 33 40 /* Field ID values for the type table. */ 34 41 … … 80 87 #define STRUC_FORWARD 0x01 /* Structure declared forward */ 81 88 89 90 91 92 82 93 enum type_tag 83 94 { … … 259 270 #pragma pack() 260 271 272 273 274 275 261 276 /* This variable points to the next character of a stabs type being 262 277 parsed. */ … … 351 366 /* kso #456 2003-06-11: Reversed quiet workaround. */ 352 367 #define no_warning warning 368 369 370 371 372 373 374 375 353 376 354 377 … … 910 933 911 934 #endif 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 912 980 913 981 … … 955 1023 case ty_stabs_ref: 956 1024 1025 957 1026 /* This should not happen. */ 958 1027 959 1028 no_warning ("stabs type %d not defined", tp->d.stabs_ref); 1029 960 1030 return 4; 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 961 1042 962 1043 case ty_alias: … … 977 1058 /* The size of a structure is stored in the type structure. */ 978 1059 979 if (tp->d.struc.flags & STRUC_FORWARD) 980 { 981 no_warning ("size of incomplete structure %s is unknown", 982 tp->d.struc.name); 1060 if ( tp->d.struc.flags & STRUC_FORWARD 1061 && try_complete_struct(tp)) 1062 { 1063 no_warning ("size of incomplete structure %s is unknown (off %ld)\n stabs: %s", 1064 tp->d.struc.name, parse_ptr - parse_start, parse_start); 983 1065 return 0; 984 1066 } … … 1378 1460 { 1379 1461 case '<': 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1380 1474 cNesting++; 1381 1475 break; 1382 1476 case '>': 1477 1478 1383 1479 cNesting--; 1384 1480 break; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
