View topic - Problems with prototypes: proto.h and PhAB Thanks!

Problems with prototypes: proto.h and PhAB Thanks!

Read-only archive of qnx.gui (Creating graphical applications within a GUI environment, such as Photon or PhAB) at inn.qnx.com

Problems with prototypes: proto.h and PhAB Thanks!

Postby David Porta » Wed Jun 21, 2006 10:44 am

My problem is:

Some functions that return float values don't work properlly if they are
placed in a extra source file.
This is because code is compiled without prototypes of these functions (only
prototypes of functions in the myproject/src folder are found in the
proto.h). If we take a look in the build options, we find a forced option
"-wapproto" wich solve "almost" all the situations..

Of course the problem is solved if I place the prototype manually inside my
code but, is it possible to automate it? As I know, indSfiles and indOfiles
are not used anymore and I have used the wizard where I put my files in the
"extra source files" and "extra headers files" dialog...

Thank You
David Porta
 

Return to qnx.gui

Who is online

Users browsing this forum: No registered users and 2 guests