![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can debug our UNIX shell script? | psiva_arul | UNIX for Advanced & Expert Users | 3 | 09-07-2008 10:31 AM |
| Sun Studio C++ - Getting error in linking std::ostream &std::ostream::operator<<(std: | umen | High Level Programming | 0 | 02-27-2008 05:14 AM |
| Error message printing to Windows on port 515 | pauls | SUN Solaris | 0 | 12-23-2004 09:51 AM |
| run in debug mode | whatisthis | Shell Programming and Scripting | 6 | 10-22-2004 09:43 PM |
| Printing Problems in unix ... ( Bar-cdoe - Ip Printing) | QuickSilver | UNIX for Advanced & Expert Users | 3 | 06-04-2002 10:48 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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, |
| Sponsored Links | ||
|
|