Search Results

Search found 2 results on 1 pages for 'looris'.

Page 1/1 | 1 

  • grep -v -A not working properly (actually not working at all)

    - by Lo'oris
    I have to filter lines like the following: [javac] /Users/looris/Sviluppo/android/projects/toutry/src/net/looris/toutry/Stuff.java:23: warning: unmappable character for encoding ascii [javac] return (poked=false); // NOTA: è un'assegnazione, non un controllo! [javac] ^ I've tried |grep -v -A2 "unmappable character for encoding ascii" but it just does nothing. If I just do |grep -v "unmappable character for encoding ascii" it does filter that line, but I need to filter the following two lines too. (using "grep (GNU grep) 2.5.1" under OSX 10.5)

    Read the article

  • "possible loss of precision" is Java going crazy or I'm missing something?

    - by Lo'oris
    I'm getting a "loss of precision" error when there should be none, AFAIK. this is an instance variable: byte move=0; this happens in a method of this class: this.move=(this.move<<4)|(byte)(Guy.moven.indexOf("left")&0xF); move is a byte, move is still a byte, and the rest is being cast to a byte. I get this error: [javac] /Users/looris/Sviluppo/dumdedum/client/src/net/looris/android/toutry/Guy.java:245: possible loss of precision [javac] found : int [javac] required: byte [javac] this.move=(this.move<<4)|(byte)(Guy.moven.indexOf("left")&0xF); [javac] ^ I've tried many variations but I still get the same error. I'm now clueless.

    Read the article

1