04-05-2018, 11:44 AM
Rule 1.3 covers undefined behaviour as defined by The C Standard. Taking the address of a local variable is not C undefined behaviour.
Near and far pointers are implementation defined and so directive 1.1 and rule 1.2 apply. We can not comment on the behaviour of a particular tool or compiler extensions.
Near and far pointers are implementation defined and so directive 1.1 and rule 1.2 apply. We can not comment on the behaviour of a particular tool or compiler extensions.
Posted by and on behalf of the MISRA C Working Group