Why did etc.c.odbc move to core.sys.windows?

singingbush singingbush at hotmail.com
Sun May 23 01:22:19 UTC 2021


The phobos documentation states that the odbc modules:

etc.c.odbc.sql
etc.c.odbc.sqlext
etc.c.odbc.sqltypes
etc.c.odbc.sqlucode

will be removed in Feb 2022 and I should instead use 
`core.sys.windows` but ODBC isn't a Windows only thing so this 
seems a bit odd.

Changing the module locations wouldn't be so bad if changing my 
imports didn't also break my code.

Also all the modules in core.sys.windows have `version (Windows)` 
in them, including `src/core/sys/windows/odbcinst.d`:

https://github.com/dlang/druntime/commit/136ff8cd0c8ec300e9e1d177a94b336cf526d9ff#diff-b96154f02e79b2aab93b614dce927ff24deac3cfea629fb456bf8a95526bcbb8

which again isn't ideal seeing as I want to use odbc from Linux.

Can someone please rethink this planned removal of `etc.c.odbc.*`


More information about the Digitalmars-d mailing list