solaris compiler, your comments always impress me -- seriously!
Printable View
adding #include <cassert> to input.h still gives me assert errors
Code:input.h: In member function 'float dataset_buf::operator()(int, int, int) const':
input.h:73: error: 'assert' was not declared in this scope
input.h: In member function 'float& dataset_buf::operator()(int, int, int)':
input.h:77: error: 'assert' was not declared in this scope
input.h: At global scope:
input.h:97: error: expected ',' or '...' before '<' token
input.h:97: error: ISO C++ forbids declaration of 'valarray' with no type
input.h:107: error: ISO C++ forbids declaration of 'valarray' with no type
input.h:107: error: expected ';' before '<' token
input.h: In constructor 'quantizer::quantizer(int)':
input.h:97: error: class 'quantizer' does not have any field named 'v'
input.h:97: error: 'v' was not declared in this scope
input.h: In member function 'int quantizer::nq() const':
input.h:102: error: 'v' was not declared in this scope
input.h: In member function 'int quantizer::operator()(float) const':
input.h:116: error: 'v' was not declared in this scope
input.h: In member function 'void dataset_loader::derive_radon_blob_summary(const std::string&)':
input.h:299: error: 'assert' was not declared in this scope
input.h: At global scope:
input.h:519: error: expected ',' or '...' before '<' token
input.h:519: error: ISO C++ forbids declaration of 'valarray' with no type
input.h:545: error: ISO C++ forbids declaration of 'valarray' with no type
...
Can you post the context code, i.e. line 73 and some around it?
>:( sorry to have wasted your time. i assumed the code i received was functional. it wasn't. lol... a dangerous assumption to make!