home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!gatech!hubcap!dpotlur
- From: dpotlur@hubcap.clemson.edu (Potluri Dora)
- Subject: To Mark, Visual Edge Software ( Mail Bounced )
- Message-ID: <1992Aug16.213501.15030@hubcap.clemson.edu>
- Keywords: motif
- Organization: Clemson University
- Date: Sun, 16 Aug 1992 21:35:01 GMT
- Lines: 63
-
-
- To: mark@vedge.UUCP
- Orig-To: mark@vedge.UUCP (Mark Paterson)
- Subject: Re: UIM/X Interpreter and prototypes
- Newsgroups: comp.windows.x.motif
- References: <28613@vedge.UUCP>
-
- In comp.windows.x.motif you write:
-
- >GUI Users,
-
- >To begin with, I work for Visual Edge Software, the company which makes
- >UIM/X, so I admit that I am rather biast when it comes to the subject
- >of GUI builders. However, recently an article was posted inquiring about
- >UIM/X's interpreter and Chris Hare responded to it and stated that UIM/X's
- >interpreter was helpful but that it didn't support prototypes yet. This
- >however isn't true.
-
- >By default, the UIM/X interpreter starts up in K&R mode but it can also
- >be used in ANSI mode. You simply have to edit the UIM/X resource file.
- >Edit the settings for the Uimx2_0.CFLAGS resource as folows:
-
- > 1) add -ansi to the list of flags.
-
- > 2) remove -D_NO_PROTO if it is present since there is no
- > use running the interpreter in ansi mode if you don't
- > allow the prootype stuff in the header files through.
-
- >The next time you start up UIM/X the interpreter will be in ansi mode.
-
-
- >Mark Paterson
- hi,
- we have uimx/2.0 running on dec platforms and I have a couple of
- questions the way uimx works.
- In the main interface file I incude my header files and everything
- works fine. When I try to add some code or call the functions whose prototypes
- are in .h files it will simply blow up and gives whole bunch of errors while I
- try to save it.
- It will save it if I declare the function I am calling as extern function
- name. According to normal c standards I do not have to do that. That is the reason
- we have the functions in the header file and we include the header file in the
- main application.
- Another major problem I face in day to use is. I have one header file and
- it has to be included in all the six interfaces I designed. But It accepts in the
- main application shell and after that if I try to include it in the second
- interface it give some errors near typedefs in the header file.
- So these are some of the problems in using uimx and I was looking for
- some one to discuss these problems and the way to work around it.
- I typically declare the functions that are in header file and when I
- use them in the callbacks I redeclare them as externs. This is not the
- right way to do it.
- After uimx2.0 generates the .c files we edit the files and add the
- include header files and compile it on the command prompt.
- Are these uimx2.0 problems or I am doing something wrong.
- I would appreciate if you can mail me the solution to the above problem.
-
-
- --
- Potluri Dora
- Dept Of Computer Science
- Clemson University
- Clemson, sc 29631
-