Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 7572 - f.fn!(void) is not an lvalue #1868

Merged
merged 2 commits into from Apr 23, 2013
Merged

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Apr 8, 2013

@9rnsr
Copy link
Contributor Author

9rnsr commented Apr 19, 2013

I cannot understand why Win64 phobos unittest fails in std.regex... Who can help me?

@9rnsr
Copy link
Contributor Author

9rnsr commented Apr 19, 2013

The error message which is showing by tester:

../dmd/src/dmd -g -m64 -O -w -d -property    -unittest unittest.d unittest1.obj unittest2.obj unittest2a.obj  unittestM.obj  unittest3.obj  unittest3a.obj  unittest3b.obj  unittest3c.obj  unittest4.obj  unittest5.obj  unittest6a.obj  unittest6b.obj  unittest6c.obj  unittest6d.obj  unittest6e.obj  unittest6f.obj  unittest6g.obj  unittest6h.obj  unittest6i.obj  unittest6j.obj  unittest6k.obj  unittest6l.obj  unittest7.obj   etc\c\zlib\zlib64.lib ..\druntime\lib\druntime64.lib
unittest6l.obj : fatal error LNK1179: invalid or corrupt file: duplicate COMDAT '_D3std5regex33__T11ctRegexImplVAyaa2_5c2eVAvA0Z4funcFNeKS3std5regex28__T19BacktrackingMatcherVb1Z27__T19BacktrackingMatcherTaZ19BacktrackingMatcherZb'

@braddr , half year ago you stopped some unittests in this commit. Is this error message related to the reason why you had disabled them?

@9rnsr
Copy link
Contributor Author

9rnsr commented Apr 19, 2013

OK, problem in win64 is fixed.

@braddr
Copy link
Member

braddr commented Apr 19, 2013

That commit was at the very early stage of win64 work and was later removed as Walter got things working. Chances are that there's still bugs in the win64 support as it's pretty young and not well battle hardened.

@9rnsr
Copy link
Contributor Author

9rnsr commented Apr 19, 2013

Thanks. Finally the problem was in my code, and MS linker was more strict than ld and optlink to the problem.

Even inside member function, implicit TemplateThisParameter should be applied.
@WalterBright WalterBright merged commit 0d66ea7 into dlang:master Apr 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants