Skip to main content
gamedev.net
๐Ÿ”’ Locked

An Error

Started by Mulligan Mar 5, 2003 at 9:12 PM 0 replies 250+ views
Original Post
Mulligan
Mulligan
What does: D:\Apps\OpenGL\EnigmaEngine\GunRack.cpp(31) : error C2243: ''type cast'' : conversion from ''class CFlareGun *'' to ''class CWeapon *'' exists, but is inaccessible mean? CFlareGun is derived from CWeapon, so why doesnt it work?
Shannon Barber
Shannon Barber
Does it derive publically? My guess is not.

//derives by private inheritence.
class X : Y

//derives by public

struct X : Y

//derives by public, etc...
class X : public Y
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.