Mail Archives: djgpp/1993/07/12/08:11:28
Hi all!
I try to compile this example (c++) program:
#include <iostream.h>
main()
{
}
with the command 'gcc -O program.cc' and get a lot of warnings about a escape
character '\d' and '\c'. I see that they are because of the #include stament.
--------------------------------- WARNINGS I GET ---------------------------------
p.cc:1: warning: unknown escape sequence `\s'
p.cc:1: warning: unknown escape sequence `\d'
p.cc:1: warning: unknown escape sequence `\c'
In file included from p.cc:1:
g:softdjgppcplusinc/iostream.h:25: warning: unknown escape sequence `\s'
g:softdjgppcplusinc/iostream.h:25: warning: unknown escape sequence `\d'
g:softdjgppcplusinc/iostream.h:25: warning: unknown escape sequence `\c'
In file included from g:softdjgppcplusinc/iostream.h:25, from p.cc:1:
g:softdjgppcplusinc/streambuf.h:31: warning: unknown escape sequence `\s'
g:softdjgppcplusinc/streambuf.h:31: warning: unknown escape sequence `\d'
g:softdjgppcplusinc/streambuf.h:31: warning: unknown escape sequence `\c'
[...]
-----------------------------------------------------------------------------------
Could be anything wrong in my DOS variables?. Follows my sets:
PATH=C:\TOOLS;C:\DOS;C:\NFS;G:\MACROS;G:\NFS;G:\UTIL;G:\WINDOWS;g:\soft\djgpp\bin;g:\soft\djgpp\bin;g:\soft\djgpp\bin
TEMP=c:\temporal
TMP=c:\temporal
DJGPP=g:\soft\djgpp
COMPILER_PATH=g:\soft\djgpp\bin
C_INCLUDE_PATH=g:\soft\djgpp\include
CPLUS_INCLUDE_PATH=g:\soft\djgpp\cplusinc;g:\soft\djgpp\include
OBJC_INCLUDE_PATH=g:\soft\djgpp\include
OBJCPLUS_INCLUDE_PATH=g:\soft\djgpp\include
LIBRARY_PATH=g:\soft\djgpp\lib
TMPDIR=c:\temporal
GO32TMP=c:\temporal
BISON_SIMPLE=g:\soft\djgpp\lib\bison.sim
BISON_HAIRY=g:\soft\djgpp\lib\bison.hai
FLEX_SKELETON=g:\soft\djgpp\lib\flex.ske
GO32=ansi driver g:\soft\djgpp\drivers\tr8900.grn
.OUT=go32
-------------------
Thanks in advance.
Cheers,
Diego Sierra.
- Raw text -