February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | On Wednesday, 4 February 2015 at 02:41:11 UTC, deadalnix wrote:
> On Tuesday, 3 February 2015 at 15:38:06 UTC, Atila Neves wrote:
>> How would one go about starting to be a contributor?
>>
>> Atila
>
> I'll start by getting the thing to build, figure out something that is not working and come to me so we can have a battle plan (or directly make a PR if this is simple) :)
I guess the issue here is figuring out what does't work! :) Should I just try compiling code with sdc every now and again? I don't even know how much of the language works. The tests help a bit I guess.
Atila
|
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Wednesday, 4 February 2015 at 09:51:27 UTC, Atila Neves wrote:
> I guess the issue here is figuring out what does't work! :) Should I just try compiling code with sdc every now and again? I don't even know how much of the language works. The tests help a bit I guess.
>
> Atila
You should run into something not working fast enough, don't worry for that :) Looking at the test suite should give you a good idea of what works.
|
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Monday, 2 February 2015 at 21:51:42 UTC, Nordlöw wrote: > Can we please change the file extensions in DMD from .c to .cpp for C++ sources? If someone (maybe me) "is allowed" to change this I can complete my PR at https://github.com/D-Programming-Language/dmd/pull/4379 that enables developing DMD in Eclipse with full intellisense and debugging support. |
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | "Nordlöw" via Digitalmars-d píše v St 04. 02. 2015 v 10:25 +0000:
> On Monday, 2 February 2015 at 21:51:42 UTC, Nordlöw wrote:
> > Can we please change the file extensions in DMD from .c to .cpp for C++ sources?
>
> If someone (maybe me) "is allowed" to change this I can complete my PR at
>
> https://github.com/D-Programming-Language/dmd/pull/4379
>
> that enables developing DMD in Eclipse with full intellisense and debugging support.
This is already possible without this change
|
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On 2015-02-04 11:25, "Nordlöw" wrote: > that enables developing DMD in Eclipse with full intellisense and > debugging support. Is that not possible to override? I've done that in the Xcode projects, works fine. -- /Jacob Carlborg |
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Wednesday, 4 February 2015 at 13:47:02 UTC, Jacob Carlborg wrote:
> On 2015-02-04 11:25, "Nordlöw" wrote:
>
>> that enables developing DMD in Eclipse with full intellisense and
>> debugging support.
>
> Is that not possible to override? I've done that in the Xcode projects, works fine.
Of course it is possible in eclipse too :)
|
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Wednesday, 4 February 2015 at 12:08:18 UTC, Daniel Kozak wrote:
> "Nordlöw" via Digitalmars-d píše v St 04. 02. 2015 v 10:25 +0000:
>> On Monday, 2 February 2015 at 21:51:42 UTC, Nordlöw wrote:
>> > Can we please change the file extensions in DMD from .c to .cpp for C++ sources?
>>
>> If someone (maybe me) "is allowed" to change this I can complete my PR at
>>
>> https://github.com/D-Programming-Language/dmd/pull/4379
>>
>> that enables developing DMD in Eclipse with full intellisense and debugging support.
>
> This is already possible without this change
I've tried modifying "File Types" section in Properties for DMD project as:
*.c - C++ Source File
*.h - C++ Header File
and
src/*.c - C++ Source File
src/*.h - C++ Header File
but neith has any affect and Intellisense still fails.
What do I have to do to make this work? Please help.
|
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Wednesday, 4 February 2015 at 20:32:35 UTC, Nordlöw wrote:
> On Wednesday, 4 February 2015 at 12:08:18 UTC, Daniel Kozak wrote:
>> "Nordlöw" via Digitalmars-d píše v St 04. 02. 2015 v 10:25 +0000:
>>> On Monday, 2 February 2015 at 21:51:42 UTC, Nordlöw wrote:
>>> > Can we please change the file extensions in DMD from .c to .cpp for C++ sources?
>>>
>>> If someone (maybe me) "is allowed" to change this I can complete my PR at
>>>
>>> https://github.com/D-Programming-Language/dmd/pull/4379
>>>
>>> that enables developing DMD in Eclipse with full intellisense and debugging support.
>>
>> This is already possible without this change
>
> I've tried modifying "File Types" section in Properties for DMD project as:
>
> *.c - C++ Source File
> *.h - C++ Header File
>
> and
>
> src/*.c - C++ Source File
> src/*.h - C++ Header File
>
> but neith has any affect and Intellisense still fails.
>
> What do I have to do to make this work? Please help.
Project->Properties
here select use project settings
and setup *.c as c++ source files and *.h as c++ header files
than Project->C/C++ Index-> Rebuild
|
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Wednesday, 4 February 2015 at 20:48:33 UTC, Daniel Kozak wrote:
>> What do I have to do to make this work? Please help.
>
> Project->Properties
>
> here select use project settings
> and setup *.c as c++ source files and *.h as c++ header files
>
> than Project->C/C++ Index-> Rebuild
Thanks. So I shouldn't specify src/*.[ch] just *.[ch] then.
BTW: I still can't the debugger to find source information.
How and where do I the debug build configuration to call make with
ENABLE_DEBUG=1
as argument?
|
February 04, 2015 Re: Renaming DMD File Extensions from C to C++ | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Wednesday, 4 February 2015 at 21:16:15 UTC, Nordlöw wrote:
> BTW: I still can't the debugger to find source information.
> How and where do I the debug build configuration to call make with
>
> ENABLE_DEBUG=1
>
> as argument?
I tend to simply edit posix.mak and change CFLAGS there :)
|
Copyright © 1999-2021 by the D Language Foundation