Sign in to follow this  

Dev-C++ error

This topic is 3837 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Using Dev-C++ version# 4.9.9.2 When I try to compile any of my programs, I get this error: *** Couldn't reserve space for cygwin's heap, Win32 error 487 Any help on this topic is greatly appreciated. Sincerely, Annoyer

Share this post


Link to post
Share on other sites
This error is easy to fix.

Switch to VisualC++ Express.

It's got a much better debugger, a much better compiler, people will stop telling you to switch, and it's even more free!

Share this post


Link to post
Share on other sites
Quote:
Original post by annoyer101
Well, I would like to but it can't compiple C code on it so I'm using Dev-C++.
If there is a way to use C on VC++ please tell me. Otherwise, my problem is the
same as my original problem.

Sincerely,
Annoyer


Use a .c extension instead of .cpp.

Alternatively, under your project properties page, Select:


- Configuration Properties
- C/C++
- Advanced
| Compile As | Compile as C Code (/TC) v |

Share this post


Link to post
Share on other sites
Quote:
There is no file with a .c extension to choose from


There's this wonderful thing called "renaming your files" or "typing out the extension yourself". Both of these will work. This is very much by design.

Quote:
and under Configuration Properties there is nothing which say C/C++.


It does if your project has any .c or .cpp files in it.

Share this post


Link to post
Share on other sites

This topic is 3837 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this