Preventing compiler from declaring all symbols as global

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Preventing compiler from declaring all symbols as global

leledumbo
Administrator
I'm creating an OS, an it's not a good idea to let the user access some private things. They're private in FPC point of view, but they're still declared as global in the assembler files. Thus, they're freely accessible from external modules.