bergkamp10
Aktives Mitglied
Thread Starter
- Dabei seit
- 18.11.2003
- Beiträge
- 301
- Reaktionspunkte
- 19
hallo zusammen,
da ich in einem c-programm variabel große matritzen benötige, habe den calloc-befehl benutzt. unter linux compiliert das programm fehlerlos. compiliere ich es aber mit dem mac, gibt es die fehlermeldung:
implicit declaration of function `calloc'
...
implicit declaration of function `free'
ich hab das gefühl, daß osx die für den befehl notwendige bibliothek malloc.h nicht findet.
kann mir jemand helfen?
gruß & dank im voraus,
bergkamp10
da ich in einem c-programm variabel große matritzen benötige, habe den calloc-befehl benutzt. unter linux compiliert das programm fehlerlos. compiliere ich es aber mit dem mac, gibt es die fehlermeldung:
implicit declaration of function `calloc'
...
implicit declaration of function `free'
ich hab das gefühl, daß osx die für den befehl notwendige bibliothek malloc.h nicht findet.
kann mir jemand helfen?
gruß & dank im voraus,
bergkamp10