Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14924] New: compile error on ptlib

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14924] New: compile error on ptlib
  • Date: 30 Nov 2008 21:49:17 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14924

Summary: compile error on ptlib
Product: Codex
Version: test grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: chat-libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: rcook AT wyrms.net


g++ -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT
-I/usr/include/SDL -fno-exceptions -Wall -fPIC -DPIC -DNDEBUG
-I/usr/src/ptlib-2.4.2/include -Os -march=k8 -m32 -pipe -DPIC -fPIC -O3
-felide-constructors -Wreorder -c ptclib/podbc.cxx -o
/usr/src/ptlib-2.4.2/lib_linux_x86/obj/podbc.o
In file included from /usr/include/sql.h:96,
from /usr/src/ptlib-2.4.2/include/ptclib/podbc.h:103,
from ptclib/podbc.cxx:39:
/usr/include/sqltypes.h:208: error: conflicting declaration 'typedef long int
SDWORD'
/usr/src/ptlib-2.4.2/include/ptlib/unix/ptlib/contain.h:108: error: 'SDWORD'
has a previous declaration as 'typedef int32_t SDWORD'
/usr/include/sqltypes.h:209: error: conflicting declaration 'typedef long
unsigned int UDWORD'
/usr/src/ptlib-2.4.2/include/ptlib/unix/ptlib/contain.h:109: error: 'UDWORD'
has a previous declaration as 'typedef uint32_t UDWORD'
ptclib/podbc.cxx: In member function 'PBoolean
PODBCRecord::IsColumnUpdatable(PINDEX)':
ptclib/podbc.cxx:1534: error: cannot convert 'short int*' to 'long int*' for
argument '7' to 'SQLRETURN SQLColAttribute(void*, SQLUSMALLINT, SQLUSMALLINT,
void*, SQLSMALLINT, SQLSMALLINT*, long int*)'
ptclib/podbc.cxx: In member function 'PBoolean
PODBCRecord::IsColumnAutoIndex(PINDEX)':
ptclib/podbc.cxx:1548: error: cannot convert 'short int*' to 'long int*' for
argument '7' to 'SQLRETURN SQLColAttribute(void*, SQLUSMALLINT, SQLUSMALLINT,
void*, SQLSMALLINT, SQLSMALLINT*, long int*)'
ptclib/podbc.cxx: In member function 'unsigned int
PODBCRecord::ColumnPrecision(PINDEX)':
ptclib/podbc.cxx:1561: error: cannot convert 'short int*' to 'long int*' for
argument '7' to 'SQLRETURN SQLColAttribute(void*, SQLUSMALLINT, SQLUSMALLINT,
void*, SQLSMALLINT, SQLSMALLINT*, long int*)'
make[2]: *** [/usr/src/ptlib-2.4.2/lib_linux_x86/obj/podbc.o] Error 1


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page