troubleshooting Question

Condition define problem in multi programming environment

Avatar of starhu
starhu asked on
5 Comments1 Solution477 ViewsLast Modified:

We have a big application with a lot of conditional defines (which tell the compiled units).
The real situation is much more complicated than the example below but it will help you understand the problem:

- Let's say that we have 3 main units: main1, main2, main3.

- In each of these units uses section are common units and conditional units, e.g.

   MyData, MyProc


,Borrow2, Borrow3

The problem is this: two programmers work on the same project but one with SERVICE_MODULE, the other with BORROW_MODULE;

If the first builds the program, then when the second programmer runs the program from Delphi, there is a message that ServiceMain doesn't exist in the project.
If he builds the project, everything would be fine for him, but then the first programmer would get the message: Borrow1 doesn't exist in the project.... and so on..

What is the easiest way so as the two programmers can work on the same project without bothering each other?
(very often both modify the common units too, of course after conciliation)

Thank you
Sinisa Vuk
Software architect
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros