Weird linkink issue on darwin
Original Reporter info from Mantis: pontscho
-
Reporter name: Zoltán Ponekker
Original Reporter info from Mantis: pontscho
- Reporter name: Zoltán Ponekker
Description:
If I try to compile this code on darwin, the generated code always crashes since 2.2.2 - 2.4.2. This code working perfectly with fpc 2.2.1. I have no idea why.
Steps to reproduce:
function alcOpenDevice(d : PChar) : PChar; cdecl; external;
begin
alcOpenDevice(nil);
end.
ppc386 main.pas -k-framework -kOpenAL -gl
./main
Mantis conversion info:
- Mantis ID: 18917
- OS: MacOS X
- OS Build: 10.6.6
- Platform: Darwin