Fix compilation warnings (again)

See also CODING_STANDARDS
Fix POR warnining
Fix compilation problem