Hello, After compiling GPC from the current sources I noticed, that there appears a linking problem when using system unit and my own assert procedure, which was not the case with some precompiled binary distribution I used before. I understand that the routine is added for delphi compatibility, so is there a simple solution to eliminate it when running in --borland-pascal mode or I just have to rename my own procedure since the overloading is not working properly? Adam Naumowicz -------------------------------------- WWW: http://math.uwb.edu.pl/~adamn/ --------------------------------------
Adam Naumowicz wrote:
Hello, After compiling GPC from the current sources I noticed, that there appears a linking problem when using system unit and my own assert procedure, which was not the case with some precompiled binary distribution I used before. I understand that the routine is added for delphi compatibility, so is there a simple solution to eliminate it when running in --borland-pascal mode or I just have to rename my own procedure since the overloading is not working properly?
The solution is to add asmnames in the System unit (cf. my answer in the `How does GPC/RTS work regarding date/time functions?' thread). I'm doing this now. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
participants (2)
-
Adam Naumowicz -
Frank Heckenbach