Re: build for UNICODE
Peter Harvey <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Organization | CodeByDesign |
| Message-ID | <[email protected]> |
Nick, I am not doing anything particularly special... just building for UNICODE and with native char support. 1. I turn this on by some env vars in my bashrc as follows... # Enable this to build with support for systems wide-char... export CFLAGS="-DUNICODE -DSQL_WCHART_CONVERT=1" 2. The usual... $ make -f Makefile.cvs $ ./configure --prefix=/usr --libdir=/usr/lib64 $ make -- Peter On Tuesday 19 August 2008 10:34:45 Nick Gorham wrote: > Peter Harvey wrote: > >Nick, > > > >I am building with UNICODE (and SQL_WCHART_CONVERT) defined. I am getting > > the following. Me thinks that current, non-suffixed versions, should > > probably be 'A' suffixed and that non-suffixed should be strictly in the > > mapping? . > >. > >. > >In file included from ODBCINSTConstructProperties.c:12: > >../include/odbcinstext.h:77: error: conflicting types > >for 'SQLConfigDataSourceW' > >../include/odbcinst.h:329: error: previous declaration > >of 'SQLConfigDataSourceW' was here > >../include/odbcinstext.h:83: error: conflicting types > >for 'SQLGetInstalledDriversW' > >../include/odbcinst.h:321: error: previous declaration > >of 'SQLGetInstalledDriversW' was here > >../include/odbcinstext.h:91: error: conflicting types > >for 'SQLInstallDriverExW' > >../include/odbcinst.h:396: error: previous declaration > >of 'SQLInstallDriverExW' was here > >../include/odbcinstext.h:95: error: conflicting types > >for 'SQLInstallDriverManagerW' > >../include/odbcinst.h:318: error: previous declaration > >of 'SQLInstallDriverManagerW' was here > >../include/odbcinstext.h:101: error: conflicting types > >for 'SQLInstallerErrorW' > >../include/odbcinst.h:375: error: previous declaration of > > 'SQLInstallerErrorW' was here > >../include/odbcinstext.h:110: error: conflicting types for > > 'SQLReadFileDSNW' > > > >. > >. > >. > > What are you building? > > Normally SQL_NOUNICODEMAP should stop that happening. > > Show me how to reproduce the problem and I will see what needs doing. -- Peter _______________________________________________ unixODBC-dev mailing list [email protected] http://mail.easysoft.com/mailman/listinfo/unixodbc-dev