Thread overview
Re: Can't compile Phobos git master
Oct 02, 2011
Jonathan M Davis
Oct 02, 2011
Andrej Mitrovic
Oct 02, 2011
Jonathan M Davis
Oct 02, 2011
Andrej Mitrovic
October 02, 2011
On Sunday, October 02, 2011 04:08:08 Andrej Mitrovic wrote:
> I'm getting compile errors from commit
> 2899a9481b7ef59bfc5c55ed06876c72f0ede4bd onwards.
> log:
>     Sat Sep 24 22:01:44 2011 -0700
>     Merge pull request #257 from jmdavis/datetime
>     Fixed DST issues in std.datetime.
> 
> I'm getting this via `make -f win32.mak`:
> 
> std\datetime.d(30196): Error: undefined identifier REG_TZI_FORMAT
> 
> I don't understand how the autotester is green all this time?

Have you updated druntime?

- Jonathan M Davis
October 02, 2011
Unless the makefile has changed somehow it should pick up druntime in the one directory up relative to the current one. I've freshly cloned and compiled the latest druntime right there as usual.
October 02, 2011
On Sunday, October 02, 2011 04:19:54 Andrej Mitrovic wrote:
> Unless the makefile has changed somehow it should pick up druntime in the one directory up relative to the current one. I've freshly cloned and compiled the latest druntime right there as usual.

I don't know what your setup is like, but REG_TZI_FORMAT was moved to core.sys.windows.windows not too long ago, and if the Phobos build isn't using it, then the version of druntime that it's using is not up-to-date.

- Jonathan M Davis
October 02, 2011
Yeah, I have a broken setup. I wrongly assumed I could compile druntime/phobos freely and that it wouldn't interrupt with my existing 2.055 files.

It compiles fine now, I just have to figure out a good way to set up things so they don't clash like this in the future.