| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Warnings |
04 Nov 96 16:01, Frank Adam wrote to Paul Edwards:
FA>> Perhaps not all warnings are available in the IDE ?
PE>> I thought they were. I think you have to spend some time switching
PE>> them all on. BFN. Paul.
> No, i always did have everything switched on, must be the default .cpp
> file that relaxes some of those warnings, sometimes i forget to change
> it to C.
In ANSI C, a function definition of
void myfunc()
{
....
is equivalent to
void myfunc(...)
{
....
However (if I recall correctly) in C++ it's equivalent to
void myfunc(void)
{
....
> I'll have to see if i can change to a .c default, but i don't
> remember seeing that option anywhere.
Set Options | Compiler | C++ options... | Use C++ Compiler to "CPP
extension", and Options | Environment | Editor | Default Extension to
"C".
Regards
Andrew
-- randy{at}zws.com
--- Msged/2 4.00
* Origin: Blizzard of Ozz, Melbourne, Australia (3:635/728.4{at}fidonet)SEEN-BY: 633/267 270 @PATH: 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.