[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opaque type history

From: john o goyo
Subject: Opaque type history
Date: Thu, 30 May 2024 20:07:39 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Greetings, Gaius.

ISO/IEC 10514 states (Sect. p. 34) that "Opaque types cannot be declared as a scalar type."  It also notes that PIM3 mandated that an opaque type must be declared as a pointer type.  However, the 1980 Modula-2 report (Sect. 16 p. 30) also allowed subranges of standard types.  This explains some issues found in legacy PIM2 code.

Of course, gm2 allows this via -fextended-opaque.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]