October 25
On Saturday, 21 October 2023 at 02:13:24 UTC, Walter Bright wrote:
> [...]

I’ve filed some bugs that block this feature from being useful:

https://issues.dlang.org/show_bug.cgi?id=24199
https://issues.dlang.org/show_bug.cgi?id=24200
https://issues.dlang.org/show_bug.cgi?id=24201

October 26
On Saturday, 21 October 2023 at 02:13:24 UTC, Walter Bright wrote:
> ...

It would be nice if the Intellij plugin could do this by right-clicking on a c file. I've created a github issue for it:
https://github.com/intellij-dlanguage/intellij-dlanguage/issues/906


October 26

On Wednesday, 25 October 2023 at 00:29:17 UTC, Adam Wilson wrote:

>

This is pretty much how I stumbled on to it at DConf this year. I briefly started with a hand translation of the ODBC 4 headers, got bored, then Nick Wilson suggested I look into ImportC, and then I just decided to smash the -Hf onto the end to see if it would work. The first file I tried it on worked, so I kept going. Eventually I ran into an anonymous tagged enum that D doesn't support, but the trick was to just comment it out and retry.

...

What's the status of your ODBC 4 work? Is it something you plan on creating a dub package for? Potentially it could be worth putting the changes into the current odbc package (copied from etc.c.odbc.* so that it can be used in DDBC & HibernateD) which is v3 only.

October 26
On 10/22/23 3:33 AM, Imperatorn wrote:
> 
> And it just worked. Pretty impressive.

or not

---- test.c ----
#include <stdlib.h>
#include <time.h>
----------------

dmd -c test.c -Hf="test.di"

Output:

	zsh: segmentation fault  dmd -c test.c -Hf=parse_itch5.di

OS:
	macOS Sonoma

Compiler:

	DMD v2.105.2
October 26
On Thursday, 26 October 2023 at 14:27:19 UTC, confuzzled wrote:
> On 10/22/23 3:33 AM, Imperatorn wrote:
>> 
>> And it just worked. Pretty impressive.
>
> or not
>
> ---- test.c ----
> #include <stdlib.h>
> #include <time.h>
> ----------------
>
> dmd -c test.c -Hf="test.di"
>
> Output:
>
> 	zsh: segmentation fault  dmd -c test.c -Hf=parse_itch5.di
>
> OS:
> 	macOS Sonoma
>
> Compiler:
>
> 	DMD v2.105.2

I did not test on Mac. File a report!
October 27

On Thursday, 26 October 2023 at 13:50:26 UTC, singingbush wrote:

>

What's the status of your ODBC 4 work? Is it something you plan on creating a dub package for? Potentially it could be worth putting the changes into the current odbc package (copied from etc.c.odbc.* so that it can be used in DDBC & HibernateD) which is v3 only.

I am currently awaiting a couple of bug-fixes to ImportC, but I've been using my local hacked up version of the ODBC4 headers to work on a Java Recordset / C# ADO.NET style library intended for inclusion in Phobos, so I can confirm that the ImportC version of the MSFT standard headers work, with workarounds. (Repo here: https://github.com/microsoft/ODBC-Specification/)

As for where it will end up. I've already received support for merging ODBC4 into etc.c.odbc, which is why those packages are rescued from deprecation in 2.106 and fixed up to enable working on non-Windows platforms. And merging it into etc.c.odbc makes it easier to get my Recordset code included in Phobos.

DConf this year was good for SQL/DB folks.

October 26
On 10/25/2023 9:33 AM, Dave P. wrote:
> I’ve filed some bugs that block this feature from being useful:

Thank you. It's nice to see the interest in this feature!

October 27

On Friday, 27 October 2023 at 01:22:43 UTC, Adam Wilson wrote:

>

On Thursday, 26 October 2023 at 13:50:26 UTC, singingbush wrote:

>

[...]

I am currently awaiting a couple of bug-fixes to ImportC, but I've been using my local hacked up version of the ODBC4 headers to work on a Java Recordset / C# ADO.NET style library intended for inclusion in Phobos, so I can confirm that the ImportC version of the MSFT standard headers work, with workarounds. (Repo here: https://github.com/microsoft/ODBC-Specification/)

[...]

Many thanks for your work.

October 27

On Friday, 27 October 2023 at 01:22:43 UTC, Adam Wilson wrote:

>

On Thursday, 26 October 2023 at 13:50:26 UTC, singingbush wrote:

>

What's the status of your ODBC 4 work? Is it something you plan on creating a dub package for? Potentially it could be worth putting the changes into the current odbc package (copied from etc.c.odbc.* so that it can be used in DDBC & HibernateD) which is v3 only.

...

As for where it will end up. I've already received support for merging ODBC4 into etc.c.odbc, which is why those packages are rescued from deprecation in 2.106 and fixed up to enable working on non-Windows platforms. And merging it into etc.c.odbc makes it easier to get my Recordset code included in Phobos.

Wait, etc.c.odbc is no longer being removed? That's good to know. I was not aware of it. Was there an announcement somewhere?

The last I heard about this was in a thread I started in May 2021:
https://forum.dlang.org/thread/rspvigghtqnerlbszctx@forum.dlang.org?page=1

It seemed at the time that a dub package was the way to go

October 27

On Friday, 27 October 2023 at 15:25:31 UTC, singingbush wrote:

>

Wait, etc.c.odbc is no longer being removed? That's good to know. I was not aware of it. Was there an announcement somewhere?

The last I heard about this was in a thread I started in May 2021:
https://forum.dlang.org/thread/rspvigghtqnerlbszctx@forum.dlang.org?page=1

It seemed at the time that a dub package was the way to go

Correct. I was able to rescue it at DConf and patched it up to work on non-Windows systems.

No major announcement, just an entry in in the changelog: https://dlang.org/changelog/pending.html#PR8804

I didn't think it worthy of a forum announcement or anything, although that may be blindness on my part as I talked to a bunch of people at DConf about it and most seemed OK with it, so I just went ahead and did it.

Reading the thread you linked it seems that people raised the same issues I did. Interesting. It appears that nobody realized that the MinGW versions, aside from being ancient, were also version(Windows), which is just hysterically wrong. They should never have been in DRT to begin with.