c++ - strchr() non-standard?
- Matthew (8/8) Apr 29 2006 I'm having trouble with DMC++ because string.h defines non-standard
- Walter Bright (2/10) May 01 2006 For a workaround for now, just drop using -A.
- Matthew (7/17) May 01 2006 The problem was when -A was not used; the STLport problem arises when -A...
I'm having trouble with DMC++ because string.h defines non-standard overloads of strchr() (and others). Using -A then fails in STLport's cwchar Is there a reason for the non-standard definitions? Is it safe to assume they will not be persist as is, so I can be confident of a DMC++-specific workaround? Cheers Matthew
Apr 29 2006
Matthew wrote:I'm having trouble with DMC++ because string.h defines non-standard overloads of strchr() (and others). Using -A then fails in STLport's cwchar Is there a reason for the non-standard definitions? Is it safe to assume they will not be persist as is, so I can be confident of a DMC++-specific workaround?For a workaround for now, just drop using -A.
May 01 2006
"Walter Bright" <newshound digitalmars.com> wrote in message news:e34iuh$1pdu$1 digitaldaemon.com...Matthew wrote:The problem was when -A was not used; the STLport problem arises when -A was used. I've just worked around it by implementing an shwild_strchr() function, whose return type and calling convention I have total control of, for taking the address of.I'm having trouble with DMC++ because string.h defines non-standard overloads of strchr() (and others). Using -A then fails in STLport's cwchar Is there a reason for the non-standard definitions? Is it safe to assume they will not be persist as is, so I can be confident of a DMC++-specific workaround?For a workaround for now, just drop using -A.
May 01 2006