February 04, 2015
On Wednesday, 4 February 2015 at 21:24:22 UTC, Dicebot wrote:
> 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 :)

I finally got everything to work in my latest commit at

https://github.com/D-Programming-Language/dmd/pull/4379

I solved at

Project Properties =>
C/C++ Build =>
Build command: make ENABLE_DEBUG=1 -j8

Try it out!

Thanks once again, D folks.
February 04, 2015
On Wednesday, 4 February 2015 at 21:29:17 UTC, Nordlöw wrote:
> I solved at
>
> Project Properties =>
> C/C++ Build =>
> Build command: make ENABLE_DEBUG=1 -j8
>
> Try it out!
>
> Thanks once again, D folks.

Further, to make expression.c (14klines!) by analyzed Intellisense change the limit

at

Preferences => Editor => Scalability to 20000 lines :)

Works fine for me on a three year old laptop.
February 04, 2015
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 I make a PR to make these file cpp, what are the chances for it to be accepted ? git is capable of tracking renaming, so it should create any conflict.
February 04, 2015
On Wednesday, 4 February 2015 at 21:45:02 UTC, deadalnix wrote:
> 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 I make a PR to make these file cpp, what are the chances for it to be accepted ? git is capable of tracking renaming, so it should create any conflict.

I managed to get things working in my latest commit in PR I mentioned above so its not critical for Eclipse integration to work.
February 04, 2015
On Wednesday, 4 February 2015 at 22:09:04 UTC, Nordlöw wrote:
> On Wednesday, 4 February 2015 at 21:45:02 UTC, deadalnix wrote:
>> 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 I make a PR to make these file cpp, what are the chances for it to be accepted ? git is capable of tracking renaming, so it should create any conflict.
>
> I managed to get things working in my latest commit in PR I mentioned above so its not critical for Eclipse integration to work.

I still think this is something that needs fixing. The cost used to be prohibitive, but now we migrated to git, the cost is very low, and that improve the situation for contributors.

Doing it.
February 04, 2015
On 2/4/2015 1:24 PM, Dicebot wrote:
> 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 :)

A technique I use is to create a 'makefile' and use it to drive 'posix.mak'. That way I can tweak the settings without editing posix.mak.

----
# Makefile to build linux dmd executable

TK=tk
ROOT=root
C=ztc
MODEL=64

MAKE=make MODEL=$(MODEL) TK=$(TK) ROOT=$(ROOT) C=$C RELEASE=1 -f posix.mak

targets :
        $(MAKE) all -j 4

dmd :
        $(MAKE) dmd -j 4

dmd64 :
        $(MAKE) MODEL=64 dmd -j 4

profile :
        $(MAKE) MODEL=64 dmd -j 4 PROFILE=-pg

gcov :
        $(MAKE) gcov

zip :
        $(MAKE) zip

clean :
        $(MAKE) clean
February 05, 2015
On Wednesday, 4 February 2015 at 22:41:29 UTC, deadalnix wrote:
> On Wednesday, 4 February 2015 at 22:09:04 UTC, Nordlöw wrote:
>> On Wednesday, 4 February 2015 at 21:45:02 UTC, deadalnix wrote:
>>> 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 I make a PR to make these file cpp, what are the chances for it to be accepted ? git is capable of tracking renaming, so it should create any conflict.
>>
>> I managed to get things working in my latest commit in PR I mentioned above so its not critical for Eclipse integration to work.
>
> I still think this is something that needs fixing. The cost used to be prohibitive, but now we migrated to git, the cost is very low, and that improve the situation for contributors.
>
> Doing it.

https://github.com/D-Programming-Language/dmd/pull/4382
February 05, 2015
On Wed, 04 Feb 2015 21:45:01 +0000, deadalnix wrote:

> 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 I make a PR to make these file cpp, what are the chances for it to be accepted ? git is capable of tracking renaming, so it should create any conflict.

it's "moving things for the sake of moving things". i hope that "don't move things for nothing" is the universal rule. i hate fixing all my scripts and links.

February 06, 2015
On Thursday, 5 February 2015 at 09:03:40 UTC, ketmar wrote:
> On Wed, 04 Feb 2015 21:45:01 +0000, deadalnix wrote:
>
>> 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 I make a PR to make these file cpp, what are the chances for it to be
>> accepted ? git is capable of tracking renaming, so it should create any
>> conflict.
>
> it's "moving things for the sake of moving things". i hope that "don't
> move things for nothing" is the universal rule. i hate fixing all my
> scripts and links.

Well you are talking for talking, we are waiting on your awesome PRs.
February 07, 2015
On Fri, 06 Feb 2015 18:48:16 +0000, deadalnix wrote:

> Well you are talking for talking, we are waiting on your awesome PRs.

easy deal. and i'm waiting for Andrei and Walter preapprovement. i'm not interested in writing code for nothing. ah, and forbidding patch attachements to bugzilla. i'm still waiting for my $25 bounty, code for which keeps rotting there.