List:MySQL++« Previous MessageNext Message »
From:jms295 Date:December 3 2007 4:52pm
Subject:Re: config-win.h redefinition problems
View as plain text  
here is my compile log for further clarification:

Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c SQLqueryHandler.cpp -o SQLqueryHandler.o
-I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" 
-I"C:/Dev-Cpp/include/c++/3.4.2/backward" 
-I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2" 
-I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include/mysql" 
-I"C:/Dev-Cpp/include/mysql++"  -I"C:/Dev-Cpp/include/sqlbase"   

In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,

                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:154:1: warning: "isnan" redefined
In file included from C:/Dev-Cpp/include/mysql/config-win.h:27,
                 from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/math.h:365:1: warning: this is the location of the
previous definition
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:198:1: warning: "finite" redefined
C:/Dev-Cpp/include/mysql/config-win.h:155:1: warning: this is the location
of the previous definition

In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,

                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h: In function `double rint(double)':
C:/Dev-Cpp/include/mysql/config-win.h:213: error: redefinition of `double
rint(double)'
C:/Dev-Cpp/include/math.h:601: error: `double rint(double)' previously
defined here
In file included from C:/Dev-Cpp/include/mysql/my_global.h:268,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/stdio.h:368:54: macro "popen" passed 2 arguments, but
takes just 1
In file included from C:/Dev-Cpp/include/mysql/my_global.h:268,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/stdio.h: At global scope:
C:/Dev-Cpp/include/stdio.h:368: warning: `__cdecl__' attribute only applies
to function types

In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:455:1: warning: "my_reinterpret_cast"
redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:342:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:1049:1: warning: "int3store" redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:274:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:1053:1: warning: "int5store" redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:278:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:1064:1: warning: "doubleget" redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:285:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:1069:1: warning: "doublestore"
redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:287:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:1072:1: warning: "float4get" redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:289:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:1075:1: warning: "floatstore" redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:290:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/my_global.h:1076:1: warning: "floatget" redefined
In file included from C:/Dev-Cpp/include/mysql/my_global.h:74,
                 from SQLqueryHandler.cpp:2:
C:/Dev-Cpp/include/mysql/config-win.h:291:1: warning: this is the location
of the previous definition
In file included from SQLqueryHandler.cpp:4:
C:/Dev-Cpp/include/mysql/my_getopt.h:58: error: use of enum `loglevel'
without previous declaration
C:/Dev-Cpp/include/mysql/my_getopt.h:58: error: ISO C++ forbids declaration
of `level' with no type

make.exe: *** [SQLqueryHandler.o] Error 1

Execution terminated
-- 
View this message in context:
http://www.nabble.com/config-win.h-redefinition-problems-tf4937754.html#a14133826
Sent from the MySQL - C++ mailing list archive at Nabble.com.

Thread
config-win.h redefinition problemsjms2953 Dec
  • Re: config-win.h redefinition problemsjms2953 Dec
  • Re: config-win.h redefinition problemsWarren Young3 Dec