[prev] [thread] [next] [lurker] [Date index for 2004/04/05]
> if (i<0) break; > //cerr << ""; > Which is all well and good. Except, well, notice the commented out > thing at the bottom? If I uncomment it, it works perfectly. If it's > commented than it all goes tits up and never recognises the end of a > sub-sequence. I have EXACTLY the same problem with a C (not C++) program on HPUX 11 using HP's own compiler (not GCC). This is on code I originally wrote for Xenix-286 in 1980... something that's been ported to SVR0-68000, SVR2-x86, Solaris-Sparc, Solaris-X86, OpenVMS-VAX, OpenVMS-Alpha, SCO, OSF1^WDigital UNIX^W^WTru64, FreeBSD, and Linux. If I put any debugging code, even 'fprintf(stderr, "");', it works, otherwise it terminates (normally, exit(0)) without producing output.
Generated at 14:02 on 01 Jul 2004 by mariachi 0.52