Re: [darktable-dev] GCC 7

2018-01-27 Thread Jørn Villesen Christensen

Hi again,

Apparently, no, that is not enough. rm -r build/ did the job, and this link:

https://stackoverflow.com/questions/673407/how-do-i-clear-my-local-working-directory-in-git

suggests git clean -d -x -f.

Anyway... it compiles now. Sorry for the noise.

~Jørn


On 2018-01-27 21:31, Jørn Villesen Christensen wrote:

Yes, I think so. git clean -f should do that, right?

~Jørn


On 2018-01-27 21:21, Roman Lebedev wrote:

You have already tried removing the build dir?

On Sat, Jan 27, 2018 at 5:14 PM, Jørn Villesen Christensen
 wrote:

Ok. Thank you for your replies. I'll have another look later.

One reason why I thought it might have been due to gcc 7 was these 
two posts

(among others):

https://github.com/svaarala/duktape/issues/1602

https://github.com/collectd/collectd/issues/2423

But thank you once again :)

~Jørn



On 2018-01-27 16:04, Jean-Luc Coulon (f5ibh) wrote:


Hi
2018-01-27 9:57 GMT+01:00 Tobias Ellinghaus >:

 Am Samstag, 27. Januar 2018, 06:38:57 CET schrieb Jørn Villesen
 Christensen:
 > Hi there,
 >
 > It seems (to me) that darktable does not support gcc 7. Is 
there any
 > effort at the moment to support this? Or if not, what is the 
latest

 > gcc-version that is supported?

 gcc 7 should be supported, several of us are building with it all
 the time.

I use gcc 7 and I dont experience any problem related to it.
And I build git version daily (or mostly)

 [ ... ]
 > got gcc v7.2 along with it.

 I am using 7.3 at the moment, but I am fairly certain that I used
 7.2 before.


I have used 7.2 and I use 7.3 from debian


  > BR
  > Jørn

 Tobias

Jean-Luc



___ 


darktable developer mailing list to unsubscribe send a mail to
darktable-dev+unsubscr...@lists.darktable.org



___ 


darktable developer mailing list
to unsubscribe send a mail to 
darktable-dev+unsubscr...@lists.darktable.org




___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] GCC 7

2018-01-27 Thread Roman Lebedev
You have already tried removing the build dir?

On Sat, Jan 27, 2018 at 5:14 PM, Jørn Villesen Christensen
 wrote:
> Ok. Thank you for your replies. I'll have another look later.
>
> One reason why I thought it might have been due to gcc 7 was these two posts
> (among others):
>
> https://github.com/svaarala/duktape/issues/1602
>
> https://github.com/collectd/collectd/issues/2423
>
> But thank you once again :)
>
> ~Jørn
>
>
>
> On 2018-01-27 16:04, Jean-Luc Coulon (f5ibh) wrote:
>>
>> Hi
>> 2018-01-27 9:57 GMT+01:00 Tobias Ellinghaus > >:
>>
>> Am Samstag, 27. Januar 2018, 06:38:57 CET schrieb Jørn Villesen
>> Christensen:
>> > Hi there,
>> >
>> > It seems (to me) that darktable does not support gcc 7. Is there any
>> > effort at the moment to support this? Or if not, what is the latest
>> > gcc-version that is supported?
>>
>> gcc 7 should be supported, several of us are building with it all
>> the time.
>>
>> I use gcc 7 and I dont experience any problem related to it.
>> And I build git version daily (or mostly)
>>
>> [ ... ]
>> > got gcc v7.2 along with it.
>>
>> I am using 7.3 at the moment, but I am fairly certain that I used
>> 7.2 before.
>>
>>
>> I have used 7.2 and I use 7.3 from debian
>>
>>
>>  > BR
>>  > Jørn
>>
>> Tobias
>>
>> Jean-Luc
>>
>>
>>
>> ___
>> darktable developer mailing list to unsubscribe send a mail to
>> darktable-dev+unsubscr...@lists.darktable.org
>
>
> ___
> darktable developer mailing list
> to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
>
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] GCC 7

2018-01-27 Thread Jørn Villesen Christensen

Ok. Thank you for your replies. I'll have another look later.

One reason why I thought it might have been due to gcc 7 was these two 
posts (among others):


https://github.com/svaarala/duktape/issues/1602

https://github.com/collectd/collectd/issues/2423

But thank you once again :)

~Jørn



On 2018-01-27 16:04, Jean-Luc Coulon (f5ibh) wrote:

Hi
2018-01-27 9:57 GMT+01:00 Tobias Ellinghaus >:


Am Samstag, 27. Januar 2018, 06:38:57 CET schrieb Jørn Villesen
Christensen:
> Hi there,
>
> It seems (to me) that darktable does not support gcc 7. Is there any
> effort at the moment to support this? Or if not, what is the latest
> gcc-version that is supported?

gcc 7 should be supported, several of us are building with it all
the time.

I use gcc 7 and I dont experience any problem related to it.
And I build git version daily (or mostly)

[ ... ] 


> got gcc v7.2 along with it.

I am using 7.3 at the moment, but I am fairly certain that I used
7.2 before.


I have used 7.2 and I use 7.3 from debian


 > BR
 > Jørn

Tobias

Jean-Luc


___ 
darktable developer mailing list to unsubscribe send a mail to 
darktable-dev+unsubscr...@lists.darktable.org


___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



Re: [darktable-dev] GCC 7

2018-01-27 Thread Tobias Ellinghaus
Am Samstag, 27. Januar 2018, 06:38:57 CET schrieb Jørn Villesen Christensen:
> Hi there,
> 
> It seems (to me) that darktable does not support gcc 7. Is there any
> effort at the moment to support this? Or if not, what is the latest
> gcc-version that is supported?

gcc 7 should be supported, several of us are building with it all the time.

> Observations behind this question:
> 
> I just did a git pull on the master branch and tried to compile it. I
> got the following error (and others similar):
> 
> /home/jvc/Dev/darktable/src/common/mipmap_cache.c: In function
> ‘dt_mipmap_cache_unlink_ondisk_thumbnail.part.3’:
> /home/jvc/Dev/darktable/src/common/mipmap_cache.c:426:42: error: ‘.d/’
> directive output may be truncated writing 3 bytes into a region of size
> between 1 and 4096 [-Werror=format-truncation=]
>   snprintf(filename, sizeof(filename), "%s.d/%d/%d.jpg",
> cache->cachedir, mip, imgid);
>^~~~

I have never seen that error before, I am not even aware of ".d/" being a 
printf directive of any kind. Does anyone know what's going on?

> /home/jvc/Dev/darktable/src/common/mipmap_cache.c:426:42: note: using
> the range [-2147483648, 2147483647] for directive argument
> In file included from /usr/include/stdio.h:862:0,
>   from /home/jvc/Dev/darktable/src/common/dtpthread.h:28,
>   from /home/jvc/Dev/darktable/src/common/cache.h:21,
>   from /home/jvc/Dev/darktable/src/common/mipmap_cache.h:21,
> from /home/jvc/Dev/darktable/src/common/mipmap_cache.c:19:
> 
> 
> After a bit googling, I realised it was because I upgraded my Ubuntu and
> got gcc v7.2 along with it.

I am using 7.3 at the moment, but I am fairly certain that I used 7.2 before.

> BR
> Jørn

Tobias

signature.asc
Description: This is a digitally signed message part.


[darktable-dev] GCC 7

2018-01-26 Thread Jørn Villesen Christensen

Hi there,

It seems (to me) that darktable does not support gcc 7. Is there any 
effort at the moment to support this? Or if not, what is the latest 
gcc-version that is supported?


Observations behind this question:

I just did a git pull on the master branch and tried to compile it. I 
got the following error (and others similar):


/home/jvc/Dev/darktable/src/common/mipmap_cache.c: In function 
‘dt_mipmap_cache_unlink_ondisk_thumbnail.part.3’:
/home/jvc/Dev/darktable/src/common/mipmap_cache.c:426:42: error: ‘.d/’ 
directive output may be truncated writing 3 bytes into a region of size 
between 1 and 4096 [-Werror=format-truncation=]
 snprintf(filename, sizeof(filename), "%s.d/%d/%d.jpg", 
cache->cachedir, mip, imgid);

  ^~~~
/home/jvc/Dev/darktable/src/common/mipmap_cache.c:426:42: note: using 
the range [-2147483648, 2147483647] for directive argument

In file included from /usr/include/stdio.h:862:0,
 from /home/jvc/Dev/darktable/src/common/dtpthread.h:28,
 from /home/jvc/Dev/darktable/src/common/cache.h:21,
 from /home/jvc/Dev/darktable/src/common/mipmap_cache.h:21,
 from /home/jvc/Dev/darktable/src/common/mipmap_cache.c:19:


After a bit googling, I realised it was because I upgraded my Ubuntu and 
got gcc v7.2 along with it.


BR
Jørn

___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org