now compiling in ASNI mode with pedantic errors
fixed code to conform the ASNI standard