HP3000-L Archives

October 1998, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dennis Handly <[log in to unmask]>
Reply To:
Dennis Handly <[log in to unmask]>
Date:
Sat, 31 Oct 1998 08:48:00 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
Walter Murray ([log in to unmask]) wrote:
: The compiler is producing this ANSI-required diagnostic because,
: strictly speaking, C does not approve of mixing function pointers
: with other pointers, even pointers-to-void.
: Walter Murray

In the strict ANSI C++ Standard you can't even do the casts that Walter
mentions.
Pointers to functions can't be converted to pointers to objects at all!
Several ARM rules were removed.

You must indirectly cast them to an integral type and then to the other.

ATOM RSS1 RSS2