Re: Watcom compile error for certain file names
- Posted by Robert Craig <rds at RapidEuphoria.com> Jul 05, 2006
- 621 views
Juergen Luethje wrote: > it looks as if there is a bug in the Eu2C translator 2.5, or in the Open > Watcom 1.3 C compiler. Please note that the problem doesn't seem to > depend on the content of the Euphoria source file, but only on its name. > > The following code compiles fine: > > ----------------------------[ test.ex ]------------------------------- > puts(1, "Hello world!\n\nPress Enter ...") > if getc(0) then end if > ---------------------------------------------------------------------- > > when using > ec -wat ... > or > ecw -wat ... > > But after renaming the file e.g. to "test(1).ex", both commands can't be > used anymore for compiling. > > I did not encounter this problem using DJGPP on DOS or the Borland > compiler on Windows (LCC not tested, and nothing tested on Linux/FreeBSD). > It would be nice if this problem could be fixed. It looks like the Watcom linker doesn't like filenames with brackets in them. I'll make a note of this, but I have a lot of other higher priority stuff to get moving on. Thanks, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com