]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
correcting minor compilation warnings
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 Oct 2008 13:11:06 +0000 (13:11 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 Oct 2008 13:11:06 +0000 (13:11 +0000)
19 files changed:
HLT/BASE/AliHLTComponentHandler.cxx
HLT/BASE/HOMER/Makefile.am
HLT/BASE/Makefile.am
HLT/BASE/interface/Makefile.am
HLT/BASE/util/Makefile.am
HLT/FMD/Makefile.am
HLT/ITS/Makefile.am
HLT/MUON/Makefile.am
HLT/PHOS/Makefile.am
HLT/RCU/Makefile.am
HLT/SampleLib/Makefile.am
HLT/TPCLib/Makefile.am
HLT/TPCLib/OnlineDisplay/Makefile.am
HLT/TRD/Makefile.am
HLT/comp/Makefile.am
HLT/pendolino/Makefile.am
HLT/rec/Makefile.am
HLT/shuttle/Makefile.am
HLT/sim/Makefile.am

index 9b9581019ac2be5e4788d733c0d71d7b8804c745..770f5a74ae500d344f125f649c2ec63cced630ac 100644 (file)
@@ -140,9 +140,9 @@ int AliHLTComponentHandler::AnnounceVersion()
   // 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";
@@ -407,11 +407,11 @@ int AliHLTComponentHandler::LoadLibrary( const char* libraryPath, int bActivateA
       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";
index 715e7a8a387b5e5a31328f3d5d3d9f8afb04fe0b..e73782ead1ba07a9c705b56f0fa89867d9819637 100644 (file)
@@ -109,7 +109,7 @@ $(COMPILE_INFO): $(libAliHLTUtil_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEAD
        @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)
@@ -124,5 +124,5 @@ $(HOMER_DOC:.tex=.ps): $(HOMER_DOC:.tex=.dvi)
        dvips -o $@ $^
 
 $(HOMER_DOC:.tex=.dvi): $(HOMER_DOC)
-       latex $^
-       latex $^
+       latex $^ > /dev/null
+       latex $^ > /dev/null
index 2f8198add8bdd7c0ff0da622fcdeebf228deb55d..b9380dea6e8e62d6b8b4fcbe71390a585adcb118 100644 (file)
@@ -65,5 +65,5 @@ $(COMPILE_INFO): $(libHLTbase_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS
        @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;}' >> $@
index a31e581050b9527f622c45b6e9de11eaf476b5d0..959a100ef1f12569ba92cf8012c91b2e92b26e1c 100644 (file)
@@ -54,5 +54,5 @@ $(COMPILE_INFO):  Makefile.am
        @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;}' >> $@
index 10a4130b191ce1b23d2defcb8d831d441f70dd0e..e57b6146f4781bf0fcb665ba05e8e12d70d6ffc3 100644 (file)
@@ -59,5 +59,5 @@ $(COMPILE_INFO): $(libAliHLTUtil_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEAD
        @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;}' >> $@
index 67e5f3e1e86f4b98e8934b9148a1233295be0958..2f6649e47f80e10000042e498cd1028973db7bb4 100644 (file)
@@ -101,5 +101,5 @@ $(COMPILE_INFO): $(libAliHLTFMD_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADE
        @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;}' >> $@
index 5ade982966596ceabb4249e656563572872e1c2d..66c480cb0feea429ad8aca6d12b2a3f956562905 100644 (file)
@@ -62,5 +62,5 @@ $(COMPILE_INFO): $(libAliHLTITS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADE
        @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;}' >> $@
index 0b0a01072fd629347fac5cdddedf4e291aa09b0e..785a81904ddfd41d07fbcd259520a5d597744b74 100644 (file)
@@ -55,5 +55,5 @@ $(COMPILE_INFO): $(libAliHLTMUON_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEAD
        @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;}' >> $@
index 32ca51d11cef5ec85d190ca9db25f54efd5422c9..44089fd4cf945d816b9e0a56ed0c26ecf73f415a 100644 (file)
@@ -63,9 +63,5 @@ $(COMPILE_INFO): $(libAliHLTPHOS_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEAD
        @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;}'>> $@
index 1d2b06bdd90c0aa1838234842dc5d2dfd1ee3ad6..1194effc3d4811bb73d65bf0c7892e5fce888209 100644 (file)
@@ -61,5 +61,5 @@ $(COMPILE_INFO): $(libAliHLTRCU_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADE
        @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;}' >> $@
index bde2fd53a072e48124ae1aa08ea0ae13662c7830..72da0e8248e8e909edf21a1cf96de03429b59448 100644 (file)
@@ -132,5 +132,5 @@ $(COMPILE_INFO): $(libAliHLTSample_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HE
        @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;}' >> $@
index e78cba68e531ecc8aae97a5d4624371c5d5284db..fbeb9d0fb81537d9bfbb1caec3081b3eed8416a3 100644 (file)
@@ -78,5 +78,5 @@ $(COMPILE_INFO): $(libAliHLTTPC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADE
        @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;}' >> $@
index 419262fcc73a904c41cb4283a453f7d78ab040ca..1e5a6a1dcac17a736b8ad6cd2a98c2ddd6f262b5 100644 (file)
@@ -80,7 +80,7 @@ $(COMPILE_INFO): $(libAliHLTTPCDisplay_la_SOURCES) $(pkginclude_HEADERS) $(noins
        @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=""' >> $@
index 5df311a27453720bbe9702a3618804b0ad1643cc..b4cdf27982ddb6960496829368084bfcf23279f5 100644 (file)
@@ -62,5 +62,5 @@ $(COMPILE_INFO): $(libAliHLTTPC_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADE
        @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;}' >> $@
index b5df50019c7f157a654128a1f93fea8e72e8f433..e7d5b7930e8b9b6e518eb643fb93087f8e524370 100644 (file)
@@ -57,5 +57,5 @@ $(COMPILE_INFO): $(libAliHLTComp_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEAD
        @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;}' >> $@
index fe25b80ae29e3fe80285a0ffc3148bd4b0fbc755..57dfb2d207111f9d68b60f630711627444ceb10f 100644 (file)
@@ -56,5 +56,5 @@ $(COMPILE_INFO): $(libHLTpendolino_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HE
        @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;}' >> $@
index de8e0f2d171e859be87c1e37f99da1a91c4d873a..23eb78d2a3f874aaa4e07c250c09eb30f5813933 100644 (file)
@@ -56,5 +56,5 @@ $(COMPILE_INFO): $(libHLTrec_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS)
        @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;}' >> $@
index 60ccad1962cef705e779e7ed5e944fc562f2701e..9f540e14da938c2646294d0a55d21637bfb2d8bb 100644 (file)
@@ -56,5 +56,5 @@ $(COMPILE_INFO): $(libHLTshuttle_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEAD
        @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;}' >> $@
index fe7fcaff3e0f9e79143d8545633f6cfbee8e3f01..613167dc4973e5be2bd1d25781e91779da77bd92 100644 (file)
@@ -54,5 +54,5 @@ $(COMPILE_INFO): $(libHLTsim_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS)
        @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;}' >> $@