File hk_classes-0.8.3-gcc43.diff of Package hk_classes
--- hk_classes/hk_actionquery.cpp
+++ hk_classes/hk_actionquery.cpp
@@ -8,10 +8,11 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.17 $
+//$Revision: 1.1 $
#include "hk_actionquery.h"
#include "hk_database.h"
+#include <cstring>
#include <time.h>
class hk_actionqueryprivate
--- hk_classes/hk_button.cpp
+++ hk_classes/hk_button.cpp
@@ -8,7 +8,8 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.40 $
+//$Revision: 1.1 $
+#include <cstring>
#include "hk_button.h"
#include "hk_form.h"
#include "hk_database.h"
--- hk_classes/hk_column.cpp
+++ hk_classes/hk_column.cpp
@@ -8,12 +8,13 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.67 $
+//$Revision: 1.1 $
#include "hk_column.h"
#include "hk_datasource.h"
#include "hk_dsdatavisible.h"
#include "hk_datetime.h"
-#include <stdio.h>
+#include <cstring>
+#include <cstdio>
hk_column::hk_column(hk_datasource* ds, const hk_string& lTRUE,const hk_string& lFALSE)
{
--- hk_classes/hk_datasource.cpp
+++ hk_classes/hk_datasource.cpp
@@ -8,7 +8,7 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.183 $
+//$Revision: 1.1 $
#include "hk_datasource.h"
#include "hk_database.h"
#include "hk_column.h"
@@ -19,8 +19,9 @@
#include "hk_qbe.h"
#include <algorithm>
#include <list>
-#include <stdlib.h>
-#include <time.h>
+#include <cstdlib>
+#include <ctime>
+#include <cstring>
voidfunction* hk_datasource::p_enablefunction=NULL;
--- hk_classes/hk_dsimage.cpp
+++ hk_classes/hk_dsimage.cpp
@@ -11,7 +11,7 @@
#include "hk_dsimage.h"
#include "hk_form.h"
#include "hk_url.h"
-
+#include <cstring>
hk_dsimage::imagetypelisttype hk_dsimage::p_imagetypefunctions;
--- hk_classes/hk_reportsection.cpp
+++ hk_classes/hk_reportsection.cpp
@@ -8,16 +8,17 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.72 $
+//$Revision: 1.1 $
#include "hk_reportsection.h"
#include "hk_reportsectionpair.h"
#include "hk_report.h"
#include "hk_reportdata.h"
-#include <list>
#include "hk_reportutils.h"
#include "hk_database.h"
#include "hk_column.h"
#include "hk_datasource.h"
+#include <list>
+#include <cstring>
const double teiler=10000.0;
--- hk_classes/hk_storagedatasource.cpp
+++ hk_classes/hk_storagedatasource.cpp
@@ -9,6 +9,7 @@
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
#include "hk_storagedatasource.h"
+#include <cstring>
hk_storagedatasource::hk_storagedatasource(hk_database* d,hk_presentation* p):hk_datasource(d,p)
{
--- hk_mysqlclasses/hk_mysqlcolumn.cpp
+++ hk_mysqlclasses/hk_mysqlcolumn.cpp
@@ -17,6 +17,7 @@
#include <mysql.h>
#include <errmsg.h>
+#include <cstring>
hk_mysqlcolumn::hk_mysqlcolumn(hk_mysqldatasource* ds, const hk_string& tTRUE,const hk_string& tFALSE)
:hk_storagecolumn(ds,tTRUE,tFALSE)
--- hk_mysqlclasses/hk_mysqldatasource.cpp
+++ hk_mysqlclasses/hk_mysqldatasource.cpp
@@ -15,6 +15,7 @@
#include "hk_mysqlactionquery.h"
#include <exception>
#include <new>
+#include <cstring>
hk_mysqldatasource::hk_mysqldatasource(hk_mysqldatabase* d,hk_presentation* p):hk_storagedatasource(d,p)
{
--- hk_mysqlclasses/hk_mysqltable.cpp
+++ hk_mysqlclasses/hk_mysqltable.cpp
@@ -8,10 +8,12 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.28 $
+//$Revision: 1.1 $
#include "hk_mysqltable.h"
#include "hk_mysqldatabase.h"
#include "hk_actionquery.h"
+#include <cstring>
+
hk_mysqltable::hk_mysqltable(hk_mysqldatabase* db,hk_presentation* p):hk_mysqldatasource(db,p)
{
--- hk_odbcclasses/hk_odbccolumn.cpp
+++ hk_odbcclasses/hk_odbccolumn.cpp
@@ -14,6 +14,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include <cstring>
#include <sql.h>
//#include <errmsg.h>
--- hk_odbcclasses/hk_odbcdatasource.cpp
+++ hk_odbcclasses/hk_odbcdatasource.cpp
@@ -17,6 +17,7 @@
#include <sqlext.h>
#include <exception>
#include <new>
+#include <cstring>
hk_odbcdatasource::hk_odbcdatasource(hk_odbcdatabase* d,hk_presentation* p):hk_storagedatasource(d,p)
{
--- hk_odbcclasses/hk_odbctable.cpp
+++ hk_odbcclasses/hk_odbctable.cpp
@@ -8,13 +8,14 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.21 $
+//$Revision: 1.1 $
#include "hk_odbctable.h"
#include "hk_odbcdatabase.h"
#include "hk_odbcconnection.h"
#include "hk_actionquery.h"
#include <sqltypes.h>
#include <sqlext.h>
+#include <cstring>
hk_odbctable::hk_odbctable(hk_odbcdatabase* db,hk_presentation* p):hk_odbcdatasource(db,p)
--- hk_paradoxclasses/hk_paradoxcolumn.cpp
+++ hk_paradoxclasses/hk_paradoxcolumn.cpp
@@ -10,7 +10,7 @@
// ****************************************************************************
#include "hk_paradoxcolumn.h"
#include "hk_paradoxdatasource.h"
-
+#include <cstring>
hk_paradoxcolumn::hk_paradoxcolumn(hk_paradoxdatasource* ds, const hk_string& tTRUE,const hk_string& tFALSE)
:hk_storagecolumn(ds,tTRUE,tFALSE)
--- hk_paradoxclasses/hk_paradoxtable.cpp
+++ hk_paradoxclasses/hk_paradoxtable.cpp
@@ -8,7 +8,7 @@
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
// ****************************************************************************
-//$Revision: 1.26 $
+//$Revision: 1.1 $
#include "hk_paradoxtable.h"
#include "hk_paradoxdatabase.h"
#include "hk_actionquery.h"
@@ -17,6 +17,7 @@
#include "hk_paradoxdatabase.h"
#include "hk_url.h"
//#include <pxversion.h>
+#include <cstring>
hk_paradoxtable::hk_paradoxtable(hk_paradoxdatabase* db,hk_presentation* p):hk_paradoxdatasource(db,p)
--- hk_postgresclasses/hk_postgresqlcolumn.cpp
+++ hk_postgresclasses/hk_postgresqlcolumn.cpp
@@ -12,6 +12,8 @@
#include "hk_postgresqlcolumn.h"
#include "hk_postgresqldatasource.h"
#include "hk_postgresqldatabase.h"
+#include <cstring>
+
hk_postgresqlcolumn::hk_postgresqlcolumn(hk_postgresqldatasource* ds, const hk_string& tTRUE,const hk_string& tFALSE)
:hk_storagecolumn(ds,tTRUE,tFALSE)
{
--- hk_postgresclasses/hk_postgresqldatasource.cpp
+++ hk_postgresclasses/hk_postgresqldatasource.cpp
@@ -16,6 +16,7 @@
#include <hk_column.h>
#include <exception>
#include <new>
+#include <cstring>
hk_postgresqldatasource::hk_postgresqldatasource(hk_postgresqldatabase* d,hk_presentation* p):hk_storagedatasource(d,p)
{
--- hk_sqlite3classes/hk_sqlite3column.cpp
+++ hk_sqlite3classes/hk_sqlite3column.cpp
@@ -15,6 +15,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include <cstring>
#include <sqlite3.h>
--- hk_sqlite3classes/hk_sqlite3datasource.cpp
+++ hk_sqlite3classes/hk_sqlite3datasource.cpp
@@ -16,6 +16,7 @@
#include <sqlite3.h>
#include <exception>
#include <new>
+#include <cstring>
hk_sqlite3datasource::hk_sqlite3datasource(hk_sqlite3database* d,hk_presentation* p):hk_storagedatasource(d,p)
{
--- hk_sqliteclasses/hk_sqlitecolumn.cpp
+++ hk_sqliteclasses/hk_sqlitecolumn.cpp
@@ -17,6 +17,7 @@
#endif
#include <sqlite.h>
+#include <cstring>
hk_sqlitecolumn::hk_sqlitecolumn(hk_sqlitedatasource* ds, const hk_string& tTRUE,const hk_string& tFALSE)
:hk_storagecolumn(ds,tTRUE,tFALSE)
--- hk_sqliteclasses/hk_sqlitedatasource.cpp
+++ hk_sqliteclasses/hk_sqlitedatasource.cpp
@@ -16,6 +16,7 @@
#include <sqlite.h>
#include <exception>
#include <new>
+#include <cstring>
hk_sqlitedatasource::hk_sqlitedatasource(hk_sqlitedatabase* d,hk_presentation* p):hk_storagedatasource(d,p)
{