Fixed some warnings so the compiler can build with Make again.

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/laksen@28956 3ad0048d-3df7-0310-abae-a5850022a9f2
Merged with trunk.
Regenerated all makefiles.

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/laksen@28957 3ad0048d-3df7-0310-abae-a5850022a9f2