![]() |
| | #16 |
| Registered User Join Date: Aug 2008
Posts: 15
| |
| patil.vishwa is offline | |
| | #17 | |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| Quote:
If you are using an ANSI-compliant C compiler, it shouldn't complain about casting from void * to any other type. If you do get a warning or error, it is most likely because you are compiling with a C++ compiler. -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. | |
| matsp is offline | |
| | #18 |
| Registered User Join Date: Aug 2008
Posts: 15
| Thanks a lot for the detailed explanation....! |
| patil.vishwa is offline | |
![]() |
| Tags |
| intialize, malloc |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting an error with OpenGL: collect2: ld returned 1 exit status | Lorgon Jortle | C++ Programming | 6 | 05-08-2009 08:18 PM |
| Seg Fault in Compare Function | tytelizgal | C Programming | 1 | 10-25-2008 03:06 PM |
| We Got _DEBUG Errors | Tonto | Windows Programming | 5 | 12-22-2006 05:45 PM |
| const at the end of a sub routine? | Kleid-0 | C++ Programming | 14 | 10-23-2005 06:44 PM |
| Dikumud | maxorator | C++ Programming | 1 | 10-01-2005 06:39 AM |