Thanks a lot, it worked fine for me.

Thanks & Regards
Lakshmi M


---- Pippijn van Steenhoven wrote ----

On Mon, Nov 03, 2014<tel:2014> at 03:58:14PM +0530<tel:+0530>, Lakshmi M wrote:
> Can anyone please let me know how to use c++ compiler as default for
> compiling my c files.

One way would be to have, anywhere in your makefiles:

  CC = $(CXX)

That would compile *all* C as C++.

Reply via email to