08-17-2007
I found that the program does not crash even with +O2 optimization when I set the inline option to zero (using "+inline_level 0" or "+d"). I understand that inline functions sometimes improve the speed but still don't see why using them could lead to a crash if everything else is OK with the program.
I also understand why the program might be not crashing now. By disabling inlined calls, I moved some code around and the problem (if it exists) could be just hidden now. Any ideas, or information on inline function calls with aCC in HP UNIX? Anyone has experience when making function inline would lead to a crash or knows about problems aCC has with inline calls?
Thanks.
9 More Discussions You Might Find Interesting
1. Programming
I have an AIX 64-bit program which uses following from AIX5.3
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthread.a(shr_xpg5_64.o)
/home/jeet_xp/export/power/usr/lib/libsarpc.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/libc_r.a(shr_64.o)
... (3 Replies)
Discussion started by: jeet_xp
3 Replies
2. UNIX for Advanced & Expert Users
hello...
thats a great forum btw :)
my problem is that I need a list of the Base Level Filesets (BLF) which are needed by a specific program.
Is there any command/tool which shows me that?
during the installation I can choose "Preview only" so that I can see what BLF´s are missing etc but... (4 Replies)
Discussion started by: cypher82
4 Replies
3. UNIX for Dummies Questions & Answers
Is there any book/resource that one can refer to, to be able to write programs at kernel/system level.. I'm looking for a programming book that could serve as a guide to write kernel codes / system level programming etc..
I have Tannenbaum's Design and Implementation. It addresses theoretical... (2 Replies)
Discussion started by: vishwamitra
2 Replies
4. Solaris
what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies
5. Programming
Hi,
Could anyone tell me the reason why the following program crashes?
class A {
int x;
public:
A() {
cout << "from A()" << endl;
}
~A() {
cout << "from ~A()" << endl;
}
};
class B : public A {
public:
B() {
cout << "from B()"... (2 Replies)
Discussion started by: royalibrahim
2 Replies
6. Programming
Hi,
I am a newbie to linux programming. I have implemented msgqueue in C.
msgrcv() call at the client end is as below:
msgrcv( msgqid, msgptr, msgsize, msgtype, 0 );
My program works fine when msgrcv () from /lib/libc.so.6 is called.
However it crashes when __libc_msgrcv() is called.
... (3 Replies)
Discussion started by: praasanna
3 Replies
7. Programming
Hi,
Can anyone tell me why the below program is crashing? and where exactly it is crashing. What is the corrective measure to be taken to make it work fine?
#include <iostream>
#include <cstring>
using namespace std;
class CString {
char* m_data;
public:
CString() :... (6 Replies)
Discussion started by: royalibrahim
6 Replies
8. Red Hat
We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Discussion started by: RHCE
3 Replies
9. UNIX and Linux Applications
I am trying to run apcupsd, but it will not retain contact the UPS
root@meow:/home/ethan/UPS/gapcmon-0.8.9# /etc/init.d/apcupsd start
Starting UPS power management:
A copy of the daemon is still running. If you just stopped it,
please wait about 5 seconds for it to shut down.... (0 Replies)
Discussion started by: Meow613
0 Replies
LEARN ABOUT DEBIAN
qwtpoint3d
QwtPoint3D(3) Qwt User's Guide QwtPoint3D(3)
NAME
QwtPoint3D -
QwtPoint3D class defines a 3D point in double coordinates.
SYNOPSIS
#include <qwt_point_3d.h>
Public Member Functions
QwtPoint3D ()
QwtPoint3D (double x, double y, double z)
QwtPoint3D (const QwtPoint3D &)
QwtPoint3D (const QPointF &)
bool isNull () const
double x () const
double y () const
double z () const
double & rx ()
double & ry ()
double & rz ()
void setX (double x)
void setY (double y)
void setZ (double y)
QPointF toPoint () const
bool operator== (const QwtPoint3D &) const
bool operator!= (const QwtPoint3D &) const
Detailed Description
QwtPoint3D class defines a 3D point in double coordinates.
Constructor & Destructor Documentation
QwtPoint3D::QwtPoint3D () [inline] Constructs a null point.
See also:
isNull()
QwtPoint3D::QwtPoint3D (doublex, doubley, doublez = 0.0) [inline]
Constructs a point with coordinates specified by x, y and z.
QwtPoint3D::QwtPoint3D (const QwtPoint3D &other) [inline] Copy constructor. Constructs a point using the values of the point specified.
QwtPoint3D::QwtPoint3D (const QPointF &other) [inline] Constructs a point with x and y coordinates from a 2D point, and a z coordinate of 0.
Member Function Documentation
bool QwtPoint3D::isNull () const [inline] Returns true if the point is null; otherwise returns false.
A point is considered to be null if x, y and z-coordinates are equal to zero.
bool QwtPoint3D::operator!= (const QwtPoint3D &other) const [inline]
Returns true if this rect and other are different; otherwise returns false.
bool QwtPoint3D::operator== (const QwtPoint3D &other) const [inline]
Returns true if this point and other are equal; otherwise returns false.
double & QwtPoint3D::rx () [inline]
Returns a reference to the x-coordinate of the point.
double & QwtPoint3D::ry () [inline]
Returns a reference to the y-coordinate of the point.
double & QwtPoint3D::rz () [inline]
Returns a reference to the z-coordinate of the point.
void QwtPoint3D::setX (doublex) [inline]
Sets the x-coordinate of the point to the value specified by x.
void QwtPoint3D::setY (doubley) [inline]
Sets the y-coordinate of the point to the value specified by y.
void QwtPoint3D::setZ (doubley) [inline]
Sets the z-coordinate of the point to the value specified by z.
QPointF QwtPoint3D::toPoint () const [inline] Rounds 2D point, where the z coordinate is dropped.
double QwtPoint3D::x () const [inline]
Returns the x-coordinate of the point.
double QwtPoint3D::y () const [inline]
Returns the y-coordinate of the point.
double QwtPoint3D::z () const [inline]
Returns the z-coordinate of the point.
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Version 6.0.0 Fri Apr 15 2011 QwtPoint3D(3)