CompuServe Thread

C problem

2 messages in this thread
#113411From: Mike Spille/ManxJul 17, 1990 1:13 PM
It's the -wl option that's doing it to you. You're correct that '\n' is actually an int, however ANSI states that a compiler should convert ints to chars and vice versa 'quietly' i.e., it shouldn't give a diagnostic message about it. However, the -wl option turns on -wa, which will warn about _any_ conversion, even normally quiet ones. If you change your -wl to -wl0a the problem should go away. I'm glad ya like the manual 😎
#113602From: Tom EshelmanJul 18, 1990 7:45 PM
Mike: Thanks. I versteh. Regards Tom