Ignore:
Timestamp:
01/03/2008 22:44:25 (4 years ago)
Author:
chris
Message:

Workaround for (buggy?) gcc not finding inherited Main method on
Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/bin/bbackupd/BackupDaemon.h

    r1891 r2099  
    6666                int ProcessOption(signed int option); 
    6767                int Main(const std::string &rConfigFileName); 
     68 
     69                // This shouldn't be here, but apparently gcc on 
     70                // Windows has no idea about inherited methods... 
     71                virtual int Main(const char *DefaultConfigFile, int argc, 
     72                        const char *argv[]) 
     73                { 
     74                        return Daemon::Main(DefaultConfigFile, argc, argv); 
     75                } 
    6876        #endif 
    6977 
Note: See TracChangeset for help on using the changeset viewer.