On 02/19/2014 03:43 PM, Karl Williamson wrote:
On 02/19/2014 03:22 PM, Steve Hay wrote:
On 19 February 2014 22:07, Karl Williamson <pub...@khwilliamson.com>
wrote:
In perl.git, the branch blead has been updated
<http://perl5.git.perl.org/perl.git/commitdiff/89f7b9aac23a02ff8140b277b76eb7a70b0b04cc?hp=63baef57e83f77e202ae14ef902a6615cf69c8a2>
- Log -----------------------------------------------------------------
commit 89f7b9aac23a02ff8140b277b76eb7a70b0b04cc
Author: Karl Williamson <pub...@khwilliamson.com>
Date: Wed Feb 19 14:55:29 2014 -0700
[...]
+ /* Here the input locale was LC_ALL, and we have set it to what
is in the
+ * LANG variable. But LANG has lower priority than the other
LC_foo
+ * variables, so override it for each one that is set. (If they
are set to
+ * "", it means to use the same thing we just set LC_ALL to, so
can skip)
+ * */
+# ifdef USE_LOCALE_TIME
+ result = PerlEnv_getenv("LC_TIME");
+ if (result and strNE(result, "")) {
You mean "&&", not "and", right?...
..\locale.c(433) : error C2146: syntax error : missing ')' before
identifier 'and'
..\locale.c(433) : warning C4013: 'and' undefined; assuming extern
returning int
..\locale.c(433) : error C2059: syntax error : ')'
..\locale.c(433) : error C2143: syntax error : missing ';' before '{'
..\locale.c(439) : error C2146: syntax error : missing ')' before
identifier 'and'
..\locale.c(439) : error C2059: syntax error : ')'
..\locale.c(439) : error C2143: syntax error : missing ';' before '{'
..\locale.c(445) : error C2146: syntax error : missing ')' before
identifier 'and'
..\locale.c(445) : error C2059: syntax error : ')'
..\locale.c(445) : error C2143: syntax error : missing ';' before '{'
..\locale.c(451) : error C2146: syntax error : missing ')' before
identifier 'and'
..\locale.c(451) : error C2059: syntax error : ')'
..\locale.c(451) : error C2143: syntax error : missing ';' before '{'
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
SInce the deadline for the release is just about now, and our only
Windows smoker keeps hanging, I'm unable to fully test this on my
machine, so I'm relying on the kindness of other porters to get this
fixed soon. Several new patches are about to be pushed. I'd appreciate
it if you try them out like you just did.
Now pushed, as 730252b299f0cde0043bed7edb5bcf0c3e37fd38
I did test the function on my machine by faking out the #ifdef's. But I
was using g++, where 'and' is a synonym for &&. Before pushing, I
compiled with gcc, but here, the #ifdefs weren't faked.