jagernot / din

Automatically exported from code.google.com/p/din
0 stars 0 forks source link

tokenizer error on rev 1522 #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
tokenizer.o -MD -MP -MF .deps/tokenizer.Tpo -c -o tokenizer.o tokenizer.cc
tokenizer.cc: In member function ‘tokenizer& tokenizer::operator>>(float&)’:
tokenizer.cc:49: error: ‘atof’ was not declared in this scope
tokenizer.cc: In member function ‘tokenizer& tokenizer::operator>>(int&)’:
tokenizer.cc:55: error: ‘atoi’ was not declared in this scope
make[1]: *** [tokenizer.o] Error 1

Original issue reported on code.google.com by video%eg...@gtempaccount.com on 4 Apr 2010 at 11:05

GoogleCodeExporter commented 9 years ago
fixed this by #include <cstdlib> in tokenizer.cc

Original comment by jager...@gmail.com on 4 Apr 2010 at 9:43

GoogleCodeExporter commented 9 years ago
confirmed fix.

Original comment by jager...@gmail.com on 4 Apr 2010 at 9:52