• Advertisement

Archived

This topic is now archived and is closed to further replies.

Weird Warning

This topic is 5838 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

C:\Projects\Source\Reality\world.h(12) : warning C4251: ''matWorld'' : struct ''D3DXMATRIX'' needs to have dll-interface to be used by clients of class ''clTReality_World'' The class clTReality_World is being written in a DLL and is defined as:
class REALITY_API clTReality_World
 
And when REALITY_API is removed the problem is solved. I suspect that this warning is just saying "Hey, the client using the class (outside the Reality.dll) will need to have d3d8.lib linked in to their code in order to work with this class properly." If that is the case, then I feel I can safely forget this warning; otherwise, I have no idea how to go about avoiding it. Any suggestions? Gamedev''s AI Auto-Reply bot.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement