Re: Which compiler for a learner of C?




BRG wrote:
pkirk25 wrote:
Actually, while it looks nice enough, it doesn't compile my existing C
code.

..\parameters.cpp(13) : error C2440: 'initializing' : cannot convert
from 'void *' to 'char *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast

Also it swaps you in warnings like
..\parameters.cpp(38) : warning C4996: 'strcpy' was declared deprecated

.



Relevant Pages

  • Re: Which compiler for a learner of C?
    ... Actually, while it looks nice enough, it doesn't compile my existing C ... Conversion from 'void*' to pointer to non-'void' requires an ...
    (comp.lang.c)
  • Re: Null pointers
    ... > I'm going to use the notation $12345678$ to refer to a pointer whose ... Remember that a null pointer constant is a source ... Conversion is done according to exactly the same rules as all other ... It is conceptually not a compile time construct. ...
    (comp.lang.c)
  • Re: Question about design?
    ... Shouldn't compile. ... 'Base' is a private base class, conversion to ... a pointer to it from Derivedis not allowed. ...
    (microsoft.public.vc.language)
  • Re: Help with malloc()
    ... Conversion from 'void*' to pointer to non-'void' requires an explicit cast ... I did know that an implicit conversion from void to double is legal, so I was wondering why I get this error without the cast. ...
    (comp.lang.c)
  • Re: Which compiler for a learner of C?
    ... Actually, while it looks nice enough, it doesn't compile my ... Conversion from 'void*' to pointer to non-'void' ...
    (comp.lang.c)