Borderou de evaluare (job #682508)
Utilizator | Data | 19 februarie 2012 03:16:10 | |
---|---|---|---|
Problema | Stramosi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘CQueue<T, defaultMaxCap>::CQueue(size_t)’:
user.cpp:23: error: there are no arguments to ‘malloc’ that depend on a template parameter, so a declaration of ‘malloc’ must be available
user.cpp:23: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
user.cpp: In constructor ‘CQueue<T, defaultMaxCap>::CQueue()’:
user.cpp:31: error: there are no arguments to ‘malloc’ that depend on a template parameter, so a declaration of ‘malloc’ must be available
user.cpp: In constructor ‘CQueue<T, defaultMaxCap>::CQueue(size_t) [with T = Identity, int defaultMaxCap = 0]’:
user.cpp:193: instantiated from here
user.cpp:23: error: ‘malloc’ was not declared in this scope
user.cpp: In destructor ‘CQueue<T, defaultMaxCap>::~CQueue() [with T = Identity, int defaultMaxCap = 0]’:
user.cpp:193: instantiated from here
user.cpp:69: error: ‘free’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !