Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 536731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:51:10+00:00 2026-05-13T09:51:10+00:00

I have a game playing engine written in C++. I have my own development

  • 0

I have a game playing engine written in C++. I have my own “development” GUI. The program is for sale in Japan and I have a Japanese publisher that has written an commercial GUI to join up with my game playing engine. We have had this arrangement for many years. Both my engine and his GUI are large, complex and undergo regular changes between releases. When my publisher wants a new version I will send him my source files which he then compiles along with his GUI, and his GUI will call a set of prearranged functions within my engine. It seems that every time we go through this process we always get tripped up by a compiler flag or two being different at his end than mine. This would be a very small problem if we both spoke the same language and were in the same time zone, but as we don’t it seems that even the smallest issue can cause major headaches and delays.

Someone has suggested that if I sent him a library rather than the sources then this would reduce the chance of errors, whilst someone else said that I should send him the project files…. I’m not so sure of the pro’s and con’s of either.

Does anyone have any tips or suggestions to minimize the risk of glitches in this process. Is there any way I could make a run-time/compile-time check to make sure all the compile and link options are as expected?

EDIT: Just noticed this question about recording the compiler flags in GCC. It seems that GNU allows this. Is there an equivalent command for visual studio?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:51:10+00:00Added an answer on May 13, 2026 at 9:51 am

    I would say it’s actually somewhat surprising how sensitive all this code is to compiler settings. Do you know if your publisher in Japan compiles your code into a library, or directly compiles it into the main GUI? They certainly should not compile the two in the same project in Visual Studio if they require different compiler flags.

    If this is C++, you can use boost’s static assert to ensure that certain things are set, and you should probably also put a few #error macros in places if things are not set.

    Having said that, I would send them a DLL and header files. This should work regardless of how they set their compiler flags.

    Edit: in addition, depending on what your game is you would probably be well advised to replace deep calls into your engine with a protocol that you can define using JSON, XML, ASN.1, or your own grammar – if your game does not have hardcore realtime GUI requirements, that is. In that case, the interface becomes trivial and will be hard to break with things like wrong linking flags.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.