tagItem init?
Maybe I am doing something wrong here too, but I have the same problems
with SAS/C v5.10b. Only some tag items appear to be vulnerable. If I am
setting up a window using the tags in the following manner:
struct TagItem WindowTags[] = {
WA_Left, 0,
…
…
…etc
WA_Title, "My Window",
…etc
TAG_DONE }
I will get an error (not warning) about invalid constant or something. I
have to change the code to:
WA_Title, 0l,
and then in the body of my code have:
WA_Title.ti_Data = (Tag)"My Window"; /* (Tag) rids incompatible warnings
*/
And all is well. Only the tags with string values seem to be a problem.
Bill
– via Whap!