[info-performer] Linux - Performer - Inline Functions

New Message Reply Date view Thread view Subject view Author view

From: Guenter Schreiber (Guenter.Schreiber++at++dlr.de)
Date: 08/19/2002 07:45:27


Hello pfAll,

currently I am porting my stuff from IRIX to Linux and facing a fancy
problem: Some Inline functions of the performer core library are not
found by the linker - but the compiler requires them...

What to do?

Well, the functions are functions like
pfNode::[sg]etName()
pfChannel::[sg]etViewport()

and so on.. (all functions, which are in /usr/include/performer/ defined
and having code in the header file)

Compilatin with g++ is fine, but the linker complains about missing
symbols.

The policy of inlining of compilers is - as far as I know that way, that
the compiler may decide, whether some function is inlined or not.
So, the library should provide those functions.

I'm really screwed up, since I don't know what to do, or which compiler
switch I could use to force g++ to inline those functions - neither -g
nor -O2 work out.

any help appreciated,

Günter

-- 
 __________________________________________________________
| Dipl.-Ing. Günter Schreiber | phone: *49/*8153/28/1183   |
| DLR - Deutsches Zentrum für | fax:   *49/*8153/28/1134   |
| Luft und Raumfahrt          |                            |
| Institut für  Robotik und   | email:                     |    /| 
|    Mechatronik              |  Guenter.Schreiber++at++dlr.de    --------
| P.O. Box 1116               |                             /  | |  /
| 82230 Wessling              |                             ---+-+--
|________ http://www.robotic.de/Guenter.Schreiber _________|   |/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Aug 19 2002 - 07:45:45 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.