How are you using SDL 1.2 and SDL 2.0?
If the question is directed at SDL, why not ask on their mailing list?
If all you wish to do is image manipulation via pixels, surely you can use a better method...
and secondly i was searching through SDL wiki for functions. and googling for getting-pixel examples. and i mixed them then searched google for a SDL example(seriously how dumb i am)
and you know, the guy says he cant trust wiki anymore about being up-to-date