Error while compiling a C++ Project with Dev-C++ 5
I am sorry, that my first post in this board is a question - but hey, therefore a board like this usually exists, right :)
First of all the context, so You can understand my problem.
For a project in my university I need a program, which generates files automatically.
- I need to generate up to 1.000.000 files
- I need to generate single files up to the size of 1.000 GB
I found the following program (incl. source code under GNU-license):
Problem: the restrictions are max. 1000 files and max. size 1 MB
Although I never used C++ I installed Dev-C++ 5 (on Win XP), checked the source code and found out, that probably I just need to change the restrictive values in the TFG.h file (MAX_COUNT & MIN_SIZE).
Next Problem: when I try to compile the project, I get the following error-message:
Does anybody know, why that problem occurs and what needs to be changed?
[Warning] command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus.exe D:\Data\projekt\Programs\TestFileGenerator new\cc1plus.exe unrecognized command line option "-fsave-memoized"
D:\Data\projekt\Programs\TestFileGenerator new\Makefile.win [Build Error] [TFG_Main.o] Error 1
I get this problem also when I try to compile the original project without any modifications.