This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Spaces Problem
- To: "Rahul Sharma" <maxutilpvt at yahoo dot com>,<gcc-help at gcc dot gnu dot org>
- Subject: RE: Spaces Problem
- From: Kári Davíđsson <kd at flaga dot is>
- Date: Wed, 25 Oct 2000 09:45:27 -0000
- Thread-Index: AcA+Z0w1khBv2eLqQK2RLfGMyrhkOQAAS/5g
- Thread-Topic: Spaces Problem
Convert the files to unix fileformat.
The line endings are different in windows and unix/linux where the
windows convention (^M) confuses the cpp (C preprocessor).
Also note that the windows convention confuses also make, so the
Makefiles must also be in the unix fileformat.
Hope this helps,
K.D.
-----Original Message-----
From: Rahul Sharma [mailto:maxutilpvt@yahoo.com]
Sent: 25. október 2000 09:38
To: gcc-help@gcc.gnu.org
Subject: Spaces Problem
Hi,
I"m porting my C++ Library from windows to Linux and I
Don't know why gcc is creating the problems for the
extra spaces before or after \ for the statment
continuation I used especially in Macros.If I remove
the spaces before and after \ then on these lines
there is no more error but its difficult to find the
exact place of space and then to remove it,I think its
not possible this way to port the library.and after
removing the spaces giving the error "type specifier
omitted for parameter" where in the source code on the
line
enum TraverseTree
{
RootToLeaf = 0, LeafToRoot = 1,
FirstToLast = 0, LastToFirst = 2
}
Please tell me what should I do to remove these errors
for spaces and enums.I think may be there is some
problem of the conversion of the source code in
Windows format and I'm using the same for Linux (Just
copied the files from network from Windows node).If
this is then please tell me any converter to convert
the files from Windows format to Linux format or any
other idea to do it.
Thanx.
Rahul.
e-mail : maxutilpvt@yahoo.com
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/