Silence compiler warnings
Add the missing files to compile and check the samples
Add code to fix bad error message for "before text" by first moving forward the buffer position till the error line.
Fix 'findline' prototype
gitignore executables and debug info
Don't ignore all .c files in samples/, just leg-generated ones