| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | casting non-void to void |
>> Well moving an unknown source to an unknown destination would sure make >> for some interesting results :-), I thought the question was more to do >> with having to cast the return from strcpy() to void to stop the compiler >> generating a warning, i just commented that QC doesn't require the void >> cast even at the highest warning level. ac> Right, and nor do any of the other compilers I have ac> here. Nor does C-Lint. The last is surprising. The lint I used for a long time used to complain about "unused return values" in these circumstances unless that warning was specifically suppressed. --- MaltEd/2 1.0.b6* Origin: Unique Computing Pty Limited (3:632/348) SEEN-BY: 50/99 620/243 623/630 632/103 107 348 360 998 633/371 634/388 396 SEEN-BY: 635/301 502 503 506 544 639/252 711/401 409 410 413 430 808 809 932 SEEN-BY: 711/934 712/515 713/888 714/906 800/1 @PATH: 632/348 635/503 50/99 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.