dmd icon indicating copy to clipboard operation
dmd copied to clipboard

fix problem with .nounderscore on Ubuntu

Open WalterBright opened this issue 3 years ago • 7 comments

This line wasn't compiling on the tester's Ubuntu, though it worked fine on my Ubuntu, on PR https://github.com/dlang/dmd/pull/14485

To move https://github.com/dlang/dmd/pull/14485 along, I replaced it with a literal. To find the problem, I put back the original line of code.

WalterBright avatar Oct 08 '22 23:10 WalterBright

See https://github.com/dlang/dmd/pull/14485#discussion_r990601036

WalterBright avatar Oct 08 '22 23:10 WalterBright

And there it is, the mysterious Ubuntu problem.

WalterBright avatar Oct 09 '22 01:10 WalterBright

Looks like it could be a GDC problem. @ibuclaw?

thewilsonator avatar Oct 09 '22 03:10 thewilsonator

Looks like it could be a GDC problem. @ibuclaw?

It'd be a dmd frontend problem, one that was fixed somewhere between 2.077..2.099.

ibuclaw avatar Oct 09 '22 06:10 ibuclaw

Why is nounderscore not in astenums?

maxhaton avatar Oct 09 '22 14:10 maxhaton

Weird frontend bug though

maxhaton avatar Oct 09 '22 14:10 maxhaton

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#14539"

dlang-bot avatar May 09 '23 14:05 dlang-bot