Hi Eric,
Yes it helps, works with the patch :)
Sorry I don't know much lisp, maybe i could have fixed it myself..
Anyways here is the list of C++ source code file extensions according to
g++ manual:
file.cc
file.cp
file.cxx
file.cpp
file.CPP
file.c++
file.C
Apparently .cp, .CPP and c++ extensions are missing either..
Thanks,
Alp
"Eric M. Ludlam" <eric@...> writes:
> Hi,
>
> Does a patch like this help?
>
> *** ede-proj-obj.el.~1.19.~ 2010-04-17 20:32:34.000000000 -0400
> --- ede-proj-obj.el 2010-06-04 04:29:22.000000000 -0400
> ***************
> *** 124,130 ****
> (defvar ede-source-c++
> (ede-sourcecode "ede-source-c++"
> :name "C++"
> ! :sourcepattern "\\.\\(cpp\\|cc\\|cxx\\)$"
> :auxsourcepattern "\\.\\(hpp\\|hh?\\|hxx\\)$"
> :garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo"))
> "C++ source code definition.")
> --- 124,130 ----
> (defvar ede-source-c++
> (ede-sourcecode "ede-source-c++"
> :name "C++"
> ! :sourcepattern "\\.\\(cpp\\|cc\\|cxx\\|C\\)$"
> :auxsourcepattern "\\.\\(hpp\\|hh?\\|hxx\\)$"
> :garbagepattern '("*.o" "*.obj" ".deps/*.P" ".lo"))
> "C++ source code definition.")
>
>
> If anyone would like to volunteer some additional extensions for C++,
> let me know.
>
> Alternately, you can customize the target, and explicitly set the
> compiler selection which will probably work too.
>
> I'll put in a better error message also.
>
> Thanks
> Eric
>
> On 06/04/2010 04:23 AM, Alp Eren Kose wrote:
>>
>> Hello,
>>
>> I have a C++ source file named "hello.C", and with this file I
>> create a project in cedet, then I try to generate the Makefile and I get
>> the following message:
>> ede-proj-makefile-insert-object-variables: No method definition: ede-proj-makefile-insert-object-variables, (nil "hello.wt" ("hello.C"))
>>
>> When I check the Makefile created by cedet, I see that it is incomplete.. You can
>> have a look at the produced Makefile at the attachment..
>>
>> But when I rename my source file from "hello.C" to "hello.cc", which means
>> just changing its extension from .C to .cc, then cedet produces a proper
>> Makefile.. So it seems like ede creates an incomplete Makefile when a
>> source file with ".C" extension is used..
>>
>> I hope I am more clear now :)
>>
>> Regards,
>> Alp
>>
>>
>>
>>
>>
>>
>> "Eric M. Ludlam"<eric@...> writes:
>>> I'm confused about the extensions. Are you trying to create
>>> "Makefile.C" or something? Can you be a little more explicit?
>>>
>>> Thanks
>>> Eric
>>>
>>> On 06/02/2010 11:27 AM, Alp Eren Kose wrote:
>>>>
>>>> Hey all,
>>>> I was trying get a code running in Cedet, and whatever I did I always
>>>> got the following message on build:
>>>>
>>>> ede-proj-makefile-insert-object-variables: No method definition: ede-proj-makefile-insert-object-variables, (nil "hello.wt" ("hello.C"))
>>>>
>>>> Then I checked the created Makefile and it was not complete at all! You
>>>> can see it at the attachment..
>>>>
>>>> But when I tried to change the file extension .C to .cc, it was all ok,
>>>> the makefile is created as it should..
>>>>
>>>> Soo is this a bug that makefile can not be created with .C file
>>>> extension, has anyone seen this before?
>>>>
>>>> Note: I am using the CVS version of cedet after the pre7 is released, but i don't
>>>> remember when exactly I pulled the source..
>>>>
>>>> Regards,
>>>> Alp
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Cedet-devel mailing list
>>>> Cedet-devel@...
>>>> https://lists.sourceforge.net/lists/listinfo/cedet-devel
|