Re: XForms: problem with the input box

gopinath Taget (gopinatht@hotmail.com)
Thu, 10 Sep 1998 04:24:21 PDT

# To subscribers of the xforms list from "gopinath Taget" <gopinatht@hotmail.com> :

hi,
the inputall_gui.h is the same as you have given.
and yes i am running a linux machine. it is a red hat linux 5.0 machine.
also i get the following warnings when i compile an xforms application

ld: warning: libc.so.5, needed by /usr1/lib/libforms.so, may conflict
with libc.so.6
/usr/i486-linux-libc5/lib/libc.so.5: warning: `siggetmask' is obsolete;
`sigprocmask' is best
/usr/i486-linux-libc5/lib/libc.so.5: the `getwd' function is dangerous
and should not be used.
/usr/i486-linux-libc5/lib/libc.so.5: the `gets' function is dangerous
and should not be used.

do you think this could be causing the problem.
thanks in advance
gopi

>
>What about `inputall_gui.h'? I presume that got fixed as well.
>
>I tested the code you sent, modulo the missing `inputall_gui.h', which
>I hand edited as follows,
>
> #ifndef FD_input_h_
> #define FD_input_h_
> /* Header file generated with fdesign. */
>
> /**** Callback routines ****/
>
> extern void input_cb(FL_OBJECT *, long);
> extern void done_cb(FL_OBJECT *, long);
> extern void hide_show_cb(FL_OBJECT *, long);
>
>
> /**** Forms and Objects ****/
>
> typedef struct {
> FL_FORM *input;
> void *vdata;
> long ldata;
> FL_OBJECT *norminput;
> FL_OBJECT *float_input;
> FL_OBJECT *date_input;
> FL_OBJECT *int_input;
> FL_OBJECT *multiinput;
> FL_OBJECT *report;
> } FD_input;
>
> extern FD_input * create_form_input(void);
>
> #endif /* FD_input_h_ */
>
>and it works for me.
>
>Either there's something wrong with the way you're building the
>application, there's some other problem in your installation, or I'm
>not understanding you correctly.
>
>Would someone else on the list who has experienced the problem please
>test my hack and report whether it works?
>
>> also in fdesign in the attributes menu when any thing is added to
the
>> object name or callback fields i get messages like.
>>
>> Invalid C Identifier Specified for Object Name
>> float_input
>
>This sounds like a glibc problem to me. Are you running Linux, by any
>chance? If so, check the archives (URL shown below). There are
>library strangenesses that interact with
>
> spl
>_________________________________________________
>To unsubscribe, send the message "unsubscribe" to
>xforms-request@bob.usuf2.usuhs.mil or see
>http://bob.usuf2.usuhs.mil/mailserv/xforms.html
>XForms Home Page: http://bragg.phys.uwm.edu/xforms
>List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/
>
>

______________________________________________________
Get Your Private, Free Email at /cgi-bin/exit-to?http://www.hotmail.com
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/