Added missing return-type as error for linux systems