Using the first bit of code below I receive two warning messages: warning: string literal in condition x2
warning: string literal in condition
if input == \"N\" || \"n\" #do this else
I have the same error as you but a different problem, found this through Google might as well post my solution for the next Googler.
I had a typo in my code which also gives the same warning:
if input =! "N"
of course the right way:
if input != "N"