Merge branch 'fix_iostream_include' into plugin_support

Conflicts:
	src/zm_image_analyser.h
This commit is contained in:
Emmanuel Papin 2015-05-29 23:49:10 +02:00
commit de2ec868b4
6 changed files with 6 additions and 5 deletions

View File

@ -33,6 +33,8 @@
#include <stdint.h> #include <stdint.h>
#include <iostream>
extern const char* self; extern const char* self;
#endif // ZM_H #endif // ZM_H

View File

@ -6,7 +6,6 @@
#include <list> #include <list>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <iostream>
#include <fstream> #include <fstream>
#include <memory> #include <memory>
#include <algorithm> #include <algorithm>

View File

@ -72,7 +72,7 @@ int main( int argc, char *argv[] )
Usage(); Usage();
break; break;
case 'v': case 'v':
cout << ZM_VERSION << "\n"; std::cout << ZM_VERSION << "\n";
exit(0); exit(0);
default: default:
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c ); //fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );

View File

@ -117,7 +117,7 @@ int main( int argc, char *argv[] )
Usage(); Usage();
break; break;
case 'v': case 'v':
cout << ZM_VERSION << "\n"; std::cout << ZM_VERSION << "\n";
exit(0); exit(0);
default: default:
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c ); //fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );

View File

@ -140,7 +140,7 @@ int main( int argc, char *argv[] )
Usage(); Usage();
break; break;
case 'v': case 'v':
cout << ZM_VERSION << "\n"; std::cout << ZM_VERSION << "\n";
exit(0); exit(0);
default: default:
//fprintf( stderr, "?? getopt returned character code 0%o ??\n", c ); //fprintf( stderr, "?? getopt returned character code 0%o ??\n", c );

View File

@ -104,7 +104,7 @@ int main(int argc, char** argv) {
printf("-v : This installed version of ZoneMinder\n"); printf("-v : This installed version of ZoneMinder\n");
return EXIT_SUCCESS; return EXIT_SUCCESS;
case 'v': case 'v':
cout << ZM_VERSION << "\n"; std::cout << ZM_VERSION << "\n";
exit(0); exit(0);
} }
} }