Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Code::Blocks could use restructuring and pruning

<< < (3/3)

Phatency:

--- Quote from: mandrav on August 31, 2006, 10:22:40 pm ---
EDIT: oh, you mean create and add a new empty file? Yes, that functionality has been missing for some weeks now (was there, but vanished ;)). It will come back though.

--- End quote ---
Hey, that's great news! We had a whole thread complaining about the current lack of that somewhere :e

Geoffles:
I hear you about the compile file option, however, for instance just now i tried that on a c file (as opposed to a c++ file) and i couldnt find how to set the compiler to c rather than c++ , it just seemed to default it to c++. I think that that if you could create a full sandbox environment, where files dont even need to be save ot disk, it could add a lot of value, especially in terms of compiler options and such. Consider this scenario, you want to try out various preproccessor directives whilst working on your project, but you dont actually want to do it in your main project. My point is that you dont seem to have much control over the compiler by simply selecting compile file

tiwag:

--- Quote from: Geoffles on September 08, 2006, 12:22:54 pm ---I hear you about the compile file option, however, for instance just now i tried that on a c file (as opposed to a c++ file) and i couldnt find how to set the compiler to c rather than c++ , it just seemed to default it to c++. I think that that if you could create a full sandbox environment, where files dont even need to be save ot disk, it could add a lot of value, especially in terms of compiler options and such. Consider this scenario, you want to try out various preproccessor directives whilst working on your project, but you dont actually want to do it in your main project. My point is that you dont seem to have much control over the compiler by simply selecting compile file

--- End quote ---

you are wrong with all you've written ...  except your last point !

1. just save your C file with extension .c and it will be compiled with gcc instead of using g++ (which is done for files with extension .cpp and a few others i guess)
2. use java if you don't want to save files and use an interpreter
3. if i want to test some compiler options outside of my main project, i simply create a test-target and do all my tests there

4. that's the reason why projects should be set up in order to get detailled control over the whole build process,
   and there doesn't exist any other IDE out there, which makes it so easy to get everything under control, than Code::Blocks

cheers, tiwag

Navigation

[0] Message Index

[*] Previous page

Go to full version