Changeset 3920 for trunk/emx/src/emxomf/emxomf.c
- Timestamp:
- Oct 25, 2014, 7:11:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/emx/src/emxomf/emxomf.c
r3919 r3920 197 197 of the input file or a library name plus module name: 198 198 library(module). */ 199 staticconst char *error_fname;199 const char *error_fname; 200 200 201 201 /* The output directory. This is set by the -O option. */ … … 405 405 static int unknown_stabs = FALSE; 406 406 407 /* Supress certain warnings if this variable is TRUE (-q option). */408 static int quiet = FALSE;407 /* Warning level (-q & -v options). */ 408 int warning_level = 1; 409 409 410 410 /* The libreq_head variable contains a pointer to the head of the list … … 603 603 { 604 604 s_pszComplainedFor = error_fname; 605 warning ("Input file '%s' has more HLL debug types than we can index in PUBDEF and EXTDEF records.", error_fname); 605 if (warning_level >= 1) 606 warning("Input file '%s' has more HLL debug types than we can index in PUBDEF and EXTDEF records.", 607 error_fname); 606 608 } 607 609 hll_type = 0; … … 1846 1848 { 1847 1849 ok = FALSE; 1848 if ( !quiet)1850 if (warning_level > 0) 1849 1851 warning ("Internal PC-relative relocation ignored"); 1850 1852 } … … 4240 4242 break; 4241 4243 case 'q': 4242 quiet = TRUE;4244 warning_level--; 4243 4245 break; 4244 4246 case 'O': … … 4260 4262 unknown_stabs = TRUE; 4261 4263 break; 4264 case 'v': 4265 warning_level++; 4266 break; 4262 4267 case 'x': 4263 4268 opt_x = TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.