Hi All,
I am working with autotools and i wish to use c++ compiler by default
for compiling my c files.
USUAL behaviour :
ex : myexecutable_SOURCES = file.cpp -> uses c++ compiler
myexecutable_SOURCES = file.c -> uses c compiler
(myexecutable_SOURCES is defined in my Makefi
Why can't you just rename the `.c` files to `.cpp`? If you want to
compile them with a C++ compiler then they *are* C++.
On Mon, Nov 3, 2014 at 5:32 AM, Lakshmi M wrote:
> Hi All,
>
> I am working with autotools and i wish to use c++ compiler by default for
> compiling my c files.
>
> USUAL beha