![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can debug our UNIX shell script? | psiva_arul | UNIX for Advanced & Expert Users | 3 | 4 Weeks Ago 07:31 AM |
| Sun Studio C++ - Getting error in linking std::ostream &std::ostream::operator<<(std: | umen | High Level Programming | 0 | 02-27-2008 01:14 AM |
| Error message printing to Windows on port 515 | pauls | SUN Solaris | 0 | 12-23-2004 05:51 AM |
| run in debug mode | whatisthis | Shell Programming and Scripting | 6 | 10-22-2004 06:43 PM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 07:48 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
“Ostream” object is not printing message on HP-UNIX for debug mode
The following C++ code segment is not working in debug mode build on HP-UNIX machine. It is not printing "Hello World" message on the screen. While it is working fine in release mode build.
============================================== class KLogStreamBuf : public streambuf { public: ........... ........... void LogOn( ostream& l, const int ts = 1 ) { FStreamBufsList.append( new KLogStreamBufs(l.rdbuf(), ts)); } ........... ........... } int main(int argc, char *argv[]) { ........... ........... KLogStreamBuf DELogBuf1; ostream DELog1( &DELogBuf1); DELogBuf1.LogOn( cout); DELog1<<"Hello World"; ........... ........... } ============================================== For debug mode build I am using following compilation options "/opt/aCC/bin/aCC -c -g +DA2.0N -w -AA -mt -N " I would appreciate any help regarding it. Regards, |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|