I am building something on HPUX. Code works fine in Sun/Linux/AIX.
But on HPUX it complains on
[sshexec] /usr/ccs/bin/ld: Unsatisfied symbols:
[sshexec] globalVar (first referenced in blah.o)
Once again code works in Release but not in Debug. All it does it uses global variable defined in some other file
extern globPck globalVar;
globPck is class that cointains some global stuff.
I am more interested in ideas what could be the reason for this to work in Release but not in Debug.
I looked over .i files (precompiled header file generated with -E) And it seems defined in same way.
I am guessing something that is hit in Release code path fixes it but I am here to hear if yall have some ideas.