Wedit output window build: Sun Apr 15 19:27:12 2001Warning c:\familjen\erik\lcc\eriks\simple.c: 8 no type specified. Defaulting to intError c:\familjen\erik\lcc\eriks\simple.c: 8 Syntax error; missing semicolon before `test''Warning c:\familjen\erik\lcc\eriks\simple.c: 8 no type specified. Defaulting to intError c:\familjen\erik\lcc\eriks\simple.c: 9 Syntax error; missing semicolon before `{''Error c:\familjen\erik\lcc\eriks\simple.c: 9 skipping `{''Error c:\familjen\erik\lcc\eriks\simple.c: 11 unrecognized declarationWarning c:\familjen\erik\lcc\eriks\simple.c: 11 empty declaration4 errors, 3 warnings c:\familjen\erik\lcc\bin\lcc.exe -c -IC:\Familjen\Erik\lcc\include -g2 -ansic c:\familjen\erik\lcc\eriks\simple.cC:\Familjen\Erik\lcc\bin\make.exe: Error code 1Compilation + link time:0.9 sec, Return code: 1
Does somebody write C++ code with this compiler?
Thanks,
Zeblar Nagrim, Lord of Chaos
Can´t code c++ with this free compiler!
I have got a free compiler called "lcc-win32" (or "wedit"?). It look like a really nice program, but I can´t understand how to code c++ with it. Every time I try to use the keyword "class" I get this error strings in the output window:
Hi there!
I have never used that compiler but there is a similar problem in Visual C++.
If your files end with a .c like "main.c" the compiler will automaticly use c. If you use the .cpp extension it will alow cpp styff. It''s at least true for the Boolean data type...
/Peter
I have never used that compiler but there is a similar problem in Visual C++.
If your files end with a .c like "main.c" the compiler will automaticly use c. If you use the .cpp extension it will alow cpp styff. It''s at least true for the Boolean data type...
/Peter
I always thought LCC was only an ANSI C compiler but I could be wrong. I have the source code for it and it appears that the lexer/parser doesn't recognize the class keyword.
You probably want the GCC compiler unless I'm mistaken.
Dire Wolf
direwolf@digitalfiends.com
Dire Wolf
www.digitalfiends.com
Edited by - Dire.Wolf on April 15, 2001 1:45:50 PM
You probably want the GCC compiler unless I'm mistaken.
Dire Wolf
direwolf@digitalfiends.com
Dire Wolf
www.digitalfiends.com
Edited by - Dire.Wolf on April 15, 2001 1:45:50 PM
[email=direwolf@digitalfiends.com]Dire Wolf[/email]
www.digitalfiends.com
www.digitalfiends.com
Yes, Lcc-win32 is only a C compiler, it cannot compile C++ things.....
if u need a free C++ compiler, try Dev-C++ !!
if u need a free C++ compiler, try Dev-C++ !!
Thank you guys for the info! I will now download and try Dev C and GCC...
Zeblar Nagrim, Lord of Chaos
Zeblar Nagrim, Lord of Chaos
First of all, gcc can only do C code also. G++ can do C++ code. Seconly, DevC++ is an IDE for MingW, which can do C++ (you can also use it for Cygwin). If you don''t like any of those, remember to try Borland C++ 5.5 (the command line version is free). You can download VIDE to use as an IDE.
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
![Resist Windows XP''s Invasive Production Activation Technology!](http://druidgames.warfactory.com/Out_Source/resist.jpg)
http://druidgames.cjb.net/
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
![Resist Windows XP''s Invasive Production Activation Technology!](http://druidgames.warfactory.com/Out_Source/resist.jpg)
http://druidgames.cjb.net/
The acronym was changed to refer to a whole group of compilers, not just C. I think it was something like "GNU Compiler Collection."
i may be wrong, but i think LCC is Linux only and does only compile C.
***We were all beginners once, don't forget that...***
Ok, I stand corrected about gcc. I was refering to the actual executable, but I didn''t know the meant the acronym to span multiple compilers
.
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
![Resist Windows XP''s Invasive Production Activation Technology!](http://druidgames.warfactory.com/Out_Source/resist.jpg)
http://druidgames.cjb.net/
![](smile.gif)
"Finger to spiritual emptiness underlying everything." -- How a C manual referred to a "pointer to void." --Things People Said
![Resist Windows XP''s Invasive Production Activation Technology!](http://druidgames.warfactory.com/Out_Source/resist.jpg)
http://druidgames.cjb.net/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement