stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: STDCXX examples fails and reasons [MSVC]
Date Mon, 09 Jul 2007 22:46:53 GMT
Farid Zaripov wrote:
>> -----Original Message-----
>> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor
>> Sent: Monday, July 09, 2007 7:47 AM
>> To: stdcxx-dev@incubator.apache.org
>> Subject: Re: STDCXX examples fails and reasons [MSVC]
>>
>>>   Because in windows infrastructure the TZ environment 
>> variable is set 
>>> for all examples only, but my patch in unix infrastructure sets TZ 
>>> variable for tests also.
>> Hmm. I don't suppose it should matter (our tests shouldn't be 
>> relying on the variable being set to any specific value), but 
>> I see what you mean. Is there a way to set the variable just 
>> for examples?
> 
>   I don't know another way, but I'm not a makefile guru :)

In GNU make there is such a thing as Target-Specific Variables.
I thought maybe we could use it to set TZ in GNUmakefile.exm:

http://www.gnu.org/software/make/manual/make.html#Target_002dspecific

Martin


Mime
View raw message