Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 751:dc8b8b7ea0c1

Show
Ignore:
Timestamp:
11/03/08 06:35:29 (2 months ago)
Author:
Christian Kamm <kamm incasoftware de>
branch:
default
Message:

Fix compile-time warnings. Adjust include in d-asm-i386.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dmd/declaration.h

    r737 r751  
    140140 
    141141    // llvm 
    142     virtual void toObjFile();           // compile to .obj file 
     142    virtual void toObjFile(int unused = 0);           // compile to .obj file 
    143143}; 
    144144 
  • dmd/module.c

    r708 r751  
    614614} 
    615615 
    616 void Module::semantic(
     616void Module::semantic(Scope* unused_sc
    617617{   int i; 
    618618 
     
    662662} 
    663663 
    664 void Module::semantic2(
     664void Module::semantic2(Scope* unused_sc
    665665{   int i; 
    666666 
     
    701701} 
    702702 
    703 void Module::semantic3(
     703void Module::semantic3(Scope* unused_sc
    704704{   int i; 
    705705 
  • dmd/module.h

    r703 r751  
    127127    void parse();   // syntactic parse 
    128128#endif 
    129     void semantic();  // semantic analysis 
    130     void semantic2(); // pass 2 semantic analysis 
    131     void semantic3(); // pass 3 semantic analysis 
     129    void semantic(Scope* unused_sc = NULL);   // semantic analysis 
     130    void semantic2(Scope* unused_sc = NULL);  // pass 2 semantic analysis 
     131    void semantic3(Scope* unused_sc = NULL);  // pass 3 semantic analysis 
    132132    void inlineScan();  // scan for functions to inline 
    133133#ifdef _DH 
  • gen/d-asm-i386.h

    r468 r751  
    22// Released under the Artistic License found in dmd/artistic.txt 
    33 
    4 #include "dmd/id.h" 
     4#include "id.h" 
    55 
    66typedef enum { 
  • gen/toobj.cpp

    r737 r751  
    880880/* ================================================================== */ 
    881881 
    882 void Declaration::toObjFile(
     882void Declaration::toObjFile(int unused
    883883{ 
    884884    Logger::println("Ignoring Declaration::toObjFile for %s", toChars()); 
Copyright © 2008, LDC Development Team.