Hi,

 yes, sorry: Lesstif 0.93.18-3

Please see the following empty program:

#include <Xm/Xm.h>
int
main ( int argc, char** argv )
{
    XtAppContext _iAppContext;
    Widget       _iWidget;
    // ...Create the toplevel shell first
    _iWidget = XtVaOpenApplication
        (
                &_iAppContext,     // appcontext (return)
                "_iAppClassName",    // app class
                NULL, 0,           // options & num_options
                &argc, argv,       // argc & argv in/out
                NULL, // fallback resources
                //topLevelShellWidgetClass,  // widget class
                sessionShellWidgetClass,  // widget class
                NULL              // options
        );

}

I compile this one with no specific option [-g -02 -pipe -DCYGWIN]
As result:
- I can execute this empty executable :)
- I cannot start this executable under gdb :( it fails before the 'main' in
the  startup code with a segmentation fault...

My real program fails without gdb on startup...
Same result, with the sample programs of xbae...

I think that we have a stack problem...

Thanks for your reply,
a+

----
Philippe Bastiani


_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to