// see header file for class documentation
int iResult=0;
#ifdef PACKAGE_STRING
- void HLTbaseCompileInfo( char*& date, char*& time);
- char* date="";
- char* time="";
+ extern void HLTbaseCompileInfo( const char*& date, const char*& time);
+ const char* date="";
+ const char* time="";
HLTbaseCompileInfo(date, time);
if (!date) date="unknown";
if (!time) time="unknown";
fLibraryList.insert(fLibraryList.begin(), hLib);
if (!phSearch) {
HLTImportant("library %s loaded (%s%s)", libraryPath, hLib.fMode==kStatic?"persistent, ":"", loadtype);
- typedef void (*CompileInfo)( char*& date, char*& time);
+ typedef void (*CompileInfo)(const char*& date, const char*& time);
CompileInfo fctInfo=(CompileInfo)FindSymbol(libraryPath, "CompileInfo");
if (fctInfo) {
- char* date="";
- char* time="";
+ const char* date="";
+ const char* time="";
(*fctInfo)(date, time);
if (!date) date="unknown";
if (!time) time="unknown";
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
all-local: $(HOMER_DOC:.tex=.ps) $(HOMER_DOC:.tex=.pdf)
dvips -o $@ $^
$(HOMER_DOC:.tex=.dvi): $(HOMER_DOC)
- latex $^
- latex $^
+ latex $^ > /dev/null
+ latex $^ > /dev/null
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'void $(MODULE)CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'void $(MODULE)CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo '#include <iostream>' >> $@
- @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
- @echo >> $@
- @echo 'void __init()'>> $@
- @echo '{std::cout << "lib$(MODULE) build on " << __DATE__ << " - " << __TIME__ << std::endl;}'>> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
@echo '#include <iostream>' >> $@
- @echo 'void $(MODULE)CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo >> $@
@echo 'extern "C" const char* __lib$(MODULE)Properties=""' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@
@echo '//automatically generated compilation info' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add changes in Makefile.am' >> $@
- @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+ @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
@echo '{date=__DATE__; time=__TIME__; return;}' >> $@