Hello again!
I encountered a bug, or something like that in Dev-C++.
I have MinGW 2.0.0-3 (gcc 3.2) and Dev-C++ 4.9.6.8. I don't want
Dev-C++ to link any kind of libraries to my program, so I don't need
the -L"dir" flag for the linker, and I don't need any include files,
so I don't need the -I"dir" flag for the compiler.
I also have the gcc/bin directory in the PATH environment var, so I
wouldn't even need to specify the compiler (binaries) directory.
But in Dev-C++ under Tools->Compiler Options->Directories tab I need
to specify directories, and I cannot press OK, until I don't set the
directory for the binaries.
So I need to set it, but I removed everything from the other
(Libraries, C Includes, C++ Includes) tabs.
After this when I start the compilation, I get the following error
message from Dev-C++ in a message box:
/-------------------------------------------------------\
| Oops! x |
|-------------------------------------------------------|
| An unexpected error has occured in the application... |
| |
| Address: 0x0041F68D |
| Error message: List index out of bounds (0) |
| |
|-------------------------------------------------------|
| |View bug report| |Send bug report| |Continue| ... |
\-------------------------------------------------------/
The bug report sais:
Stack trace:
------------
00568AC6 (00167AC6): ShowExceptionInfo (ExceptionsAnalyzer - 523)
00568B8B (00167B8B): TExceptionsAnalyzer.GlobalExceptionHandler (ExceptionsAnalyzer - 531)
0054BDE9 (0014ADE9): ParseMacros (Macros - 50)
0054E151 (0014D151): TCompiler.GetCompileParams (compiler - 543)
0054E399 (0014D399): TCompiler.Compile (compiler - 579)
0054ECFA (0014DCFA): TCompiler.CompileAndRun (compiler - 697)
005435F6 (001425F6): TMainForm.actCompRunExecute (main - 3339)
0056A26E (0016926E): (devcpp - 120)
0056A289 (00169289): (devcpp - 120)
00569F44 (00168F44): (devcpp - 82)
So my question is: how can I tell Dev-C++ not to send the -L and -I
flags to the compiler globally.
--
Best regards,
Oroszi Balázs mailto:or...@vp...
P.S.: Does the msgbox look good? :)
|