[unixODBC-dev] build for UNICODE

Nick Gorham nick at lurcher.org
Tue Aug 19 22:40:09 BST 2008


Peter Harvey wrote:

>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
>
>  
>
Ok, I think the -DUNICODE is the problem. Thats normally used when 
building apps to signal that the normal unadorned functions (SQLConnect 
for example) and sliently mapped to their wide version (SQLConnectW) and 
thats causing the conflict here.

-- 
Nick



More information about the unixODBC-dev mailing list