Re: Something wrong in my program
From: Peter Nilsson (airia_at_acay.com.au)
Date: 01/18/04
- Next message: Peter Nilsson: "Re: Variable-Length Arrays (was Re: Something wrong in my program)"
- Previous message: Peter Nilsson: "Re: When should use C?"
- In reply to: Mark McIntyre: "Re: Something wrong in my program"
- Next in thread: Mark McIntyre: "Re: Something wrong in my program"
- Reply: Mark McIntyre: "Re: Something wrong in my program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 18 Jan 2004 20:15:55 +1100
"Mark McIntyre" <markmcintyre@spamcop.net> wrote in message
news:dvqg0059ur2hpcbhvo542f51edraf27hhk@4ax.com...
> ... void* converts implicitly to any other pointer type.
That's not true in the case of function pointers. Apart from null pointers,
the conversion in such cases is undefined. [C99 J.5.7 notwithstanding.]
-- Peter
- Next message: Peter Nilsson: "Re: Variable-Length Arrays (was Re: Something wrong in my program)"
- Previous message: Peter Nilsson: "Re: When should use C?"
- In reply to: Mark McIntyre: "Re: Something wrong in my program"
- Next in thread: Mark McIntyre: "Re: Something wrong in my program"
- Reply: Mark McIntyre: "Re: Something wrong in my program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|