Re: [fpc-pascal] exports VS export

2011-01-18 Thread Alex Shishkin
18.01.2011 23:08, Jonas Maebe пишет: On 18 Jan 2011, at 20:46, Alex Shishkin wrote: 18.01.2011 22:28, Jonas Maebe пишет: What do you mean by "crashes"? A segmentation fault? If so, where exactly does it crash? And how do you import that routine in the program and call it? Currently, the "expo

Re: [fpc-pascal] exports VS export

2011-01-18 Thread Jonas Maebe
On 18 Jan 2011, at 20:46, Alex Shishkin wrote: > 18.01.2011 22:28, Jonas Maebe пишет: >> What do you mean by "crashes"? A segmentation fault? If so, where exactly >> does it crash? And how do you import that routine in the program and call >> it? Currently, the "export" modifier apparently does

Re: [fpc-pascal] exports VS export

2011-01-18 Thread Alex Shishkin
18.01.2011 22:28, Jonas Maebe пишет: What do you mean by "crashes"? A segmentation fault? If so, where exactly does it crash? And how do you import that routine in the program and call it? Currently, the "export" modifier apparently does not add an alias for the unmangled name, so I'm not sure

Re: [fpc-pascal] exports VS export

2011-01-18 Thread Jonas Maebe
On 18 Jan 2011, at 13:47, Alex Shishkin wrote: > Following code crashes if disable define use_export_section. What do you mean by "crashes"? A segmentation fault? If so, where exactly does it crash? And how do you import that routine in the program and call it? Currently, the "export" modifier

Re: [fpc-pascal] exports VS export

2011-01-18 Thread Alex Shishkin
18.01.2011 15:34, Jonas Maebe пишет: On 18 Jan 2011, at 13:27, Alex Shishkin wrote: what is the difference between "export" proedure/function modifier and listing this routine in "exports" section? In theory, they should mean the same. In practice, FPC currently only actually exports routin

Re: [fpc-pascal] exports VS export

2011-01-18 Thread Jonas Maebe
On 18 Jan 2011, at 13:27, Alex Shishkin wrote: what is the difference between "export" proedure/function modifier and listing this routine in "exports" section? In theory, they should mean the same. In practice, FPC currently only actually exports routines that are in the "exports" sectio