Closed kryne001 closed 10 years ago
When I was grading it I got this
marshb@well $ make g++ -Wall -Werror -ansi -pedantic src/hw1.cpp -o bin/rshell cc1plus: warnings being treated as errors src/hw1.cpp: In function \u2018int main()\u2019: src/hw1.cpp:22: warning: comparison between signed and unsigned integer expressions src/hw1.cpp:35: warning: comparison between signed and unsigned integer expressions src/hw1.cpp:73: error: no matching function for call to \u2018wait::wait(int)\u2019 /usr/include/bits/waitstatus.h:68: note: candidates are: wait::wait() /usr/include/bits/waitstatus.h:68: note: wait::wait(const wait&) make: *\ [all] Error 1
that's what i get when it runs
Have you tested it on the school's server well
? I am not quite sure what that picture is showing, but from the looks of it that you were testing it solely on a Mac, which is a different favor of UNIX
than what what the class is using, which is what is on well
.
Yeah that's probably the problem, I'm going to Chung today so I'll try it again and see.
You know you can ssh into the schools server anytime remotely by typing ssh -X username@well.cs.ucr.edu
. Replace username
with your cs account's username.
Oh wow, okay so I just checked on the school's server and it didn't compile, is it too late to rectify this?
I just got the same results here due to the difference in the well server. I recognize this is late, but I was wondering the same questions as above.
You will need to ask the professor.
I just saw my grade, which was given because my program did not compile, but I did all five steps shown in the homework,
git clone (myrepo) cd rshell git checkout hw1 make bin/rshell
I've done it at least four times when I cloned four different repos and they worked each time without me doing anything other than those fives commands.