[opengtl-commits] [180] fix compilation for gcc 4.3 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 180
Author: cyrille
Date: 2008-05-19 14:53:19 +0200 (Mon, 19 May 2008)
Log Message:
-----------
fix compilation for gcc 4.3
Modified Paths:
--------------
trunk/OpenGTL/OpenCTL/tools/interpreter/CtlI.cpp
Modified: trunk/OpenGTL/OpenCTL/tools/interpreter/CtlI.cpp
===================================================================
--- trunk/OpenGTL/OpenCTL/tools/interpreter/CtlI.cpp 2008-05-19 12:32:58 UTC (rev 179)
+++ trunk/OpenGTL/OpenCTL/tools/interpreter/CtlI.cpp 2008-05-19 12:53:19 UTC (rev 180)
@@ -20,6 +20,7 @@
// C++ Headers
#include <iostream>
#include <fstream>
+#include <cstdlib>
// OpenCTL Headers
#include <OpenCTL/Debug.h>
@@ -48,7 +49,7 @@
#define ARG_IS(a,b) argv[ai] == GTLCore::String(a) or argv[ai] == GTLCore::String(b)
-int main(char argc, char** argv)
+int main(int argc, char** argv)
{
GTLCore::String fileName = "";
GTLCore::String functionName = "main";