[unixODBC-dev] build for UNICODE

Nick Gorham nick at lurcher.org
Tue Aug 19 18:34:45 BST 2008


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.

-- 
Nick



More information about the unixODBC-dev mailing list