What steps will reproduce the problem?
1. build angle
What is the expected output?
no warnings that assignment discards qualifiers from pointer target type
What do you see instead?
compiler/preprocessor/scanner.c:
In function ‘ScanFromString’:
178: warning: assignment discards qualifiers from pointer target type
What version of the product are you using?
498
On what operating system?
os x
Please provide any additional information below.
typedef struct StringInputSrc {
InputSrc base;
char *p;
} StringInputSrc;
int ScanFromString(const char *s)
StringInputSrc *in = malloc(sizeof(StringInputSrc));
in->p = s;
Original issue reported on code.google.com by timel...@gmail.com on 1 Dec 2010 at 10:43
Original issue reported on code.google.com by
timel...@gmail.com
on 1 Dec 2010 at 10:43