/in/foo.cc: In function 'void addNum(std::vector<Num>&, Num&)':
/in/foo.cc:137:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++) {
~^~~~~~~~~
/in/foo.cc: In function 'Num& getGoodOne(int, int)':
/in/foo.cc:201:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<vi.size();i++) {
~^~~~~~~~~~
/in/foo.cc:240:16: error: a function-definition is not allowed here before '{' token
void preCalc() {
^
/in/foo.cc:284:1: error: expected '}' at end of input
}
^
/in/foo.cc:284:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: At global scope:
/in/foo.cc:33:13: warning: 'fixOneAddr' defined but not used [-Wunused-variable]
static Num* fixOneAddr;
^~~~~~~~~~