Maurizio Martignano wrote:

> 2.A set of necessary cosmetics/make up changes to the overall code base
> to make it more compliant with nowadays C STDs, and therefore more
> “acceptable” to nowadays C compilers, they are:
>
> a.I have made explicit all type conversions (with explicit casts)
>
> b.I have modified all functions defined in K&R C STD, changing them
>   into ANSI C STD
>
> c.I have removed from the code base all reserved words, e.g.: new,
> delete, bool …

Are you building with a C compiler or a c++ compiler?  new, delete, and 
bool are not reserved words in any dialect of C that I'm aware of.
C++ is also pickier about casting; in C you should be able to cast any 
pointer to or from a void* without a cast.

The K&R definitions can go; It's somewhat shocking there would be any 
still around.

-J


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

Reply via email to