Author Topic: small bug report  (Read 5019 times)

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 110
small bug report
« on: August 11, 2010, 02:03:46 am »
version 10.05 , winxp

when there two projects in workspace , one is project a , the other is project b . prj a 's build target is debug , the prj b is set to release. If I choose bulid project b , when project b IS compiling , I double click project a , It seems when project b compiled completely , project a build target changes to release .

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6078
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: small bug report
« Reply #1 on: August 11, 2010, 02:15:44 am »
version 10.05 , winxp

when there two projects in workspace , one is project a , the other is project b . prj a 's build target is debug , the prj b is set to release. If I choose bulid project b , when project b IS compiling , I double click project a , It seems when project b compiled completely , project a build target changes to release .

So, you mean: we should forbid the switch b to a, when b is under compiling.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: small bug report
« Reply #2 on: August 11, 2010, 06:43:13 am »
maybe , this method is a solution.
when switch change from a to b , the b's config. should not be changed ( change to a 's build target config).

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: small bug report
« Reply #3 on: August 11, 2010, 09:21:24 am »
It does not happen here.
What happens, is that if b depends on a  and you build b and a gets automatically build, it uses the same build target, that is active in b.