Changeset 417

Show
Ignore:
Timestamp:
03/13/07 13:44:58 (2 years ago)
Author:
Gregor
Message:

rebuild/mars.c: Added a warning for lacking a module declaration.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/rebuild/mars.c

    r416 r417  
    11631163                 
    11641164                m->objfile = new File(ofname); 
     1165                 
     1166            } else { 
     1167                // ignore gcstats (argh) 
     1168                if (strcmp(m->srcfile->name->name(), "gcstats.d")) { 
     1169                    fprintf(stderr, "WARNING: Module %s does not have a module declaration. This can cause problems\n" 
     1170                                    "         with rebuild's -oq option. If an error occurs, fix this first.\n"); 
     1171                } 
    11651172            } 
    11661173        } else {