On Thu, Mar 27, 2014 at 4:23 AM, Pavel Sanda wrote:
> Jean-Marc Lasgouttes wrote:
> >> That was my first idea. But we no more have filename in our hands so
> most
> >> we can output
> >> is something like "can't unlock file". You prefer this?
> >
> > Well, at least we will know that this triggers
Jean-Marc Lasgouttes wrote:
>> That was my first idea. But we no more have filename in our hands so most
>> we can output
>> is something like "can't unlock file". You prefer this?
>
> Well, at least we will know that this triggers and maybe take a look at it.
Like attached. Vincent you want thi
Am Mittwoch, 26. März 2014 um 18:11:41, schrieb Jean-Marc Lasgouttes
> 26/03/2014 16:24, Pavel Sanda:
> >> I the __attribute((unused)) portable in general?
> >>
> >> Why not use the return value to output a lyxerr warning if needed?
> >
> > That was my first idea. But we no more have filename in
26/03/2014 16:24, Pavel Sanda:
I the __attribute((unused)) portable in general?
Why not use the return value to output a lyxerr warning if needed?
That was my first idea. But we no more have filename in our hands so most we
can output
is something like "can't unlock file". You prefer this?
Jean-Marc Lasgouttes wrote:
> 24/03/2014 21:12, Pavel Sanda:
>> Hi folks,
>>
>> gcc is emitting
>> filetools.cpp: In function 'void lyx::support::fileUnlock(int, const
>> char*)':
>> filetools.cpp:1084:31: warning: ignoring return value of 'int lockf(int,
>> int, __off_t)', declared with attribut
On Wed, Mar 26, 2014 at 1:54 PM, Jean-Marc Lasgouttes wrote:
> 24/03/2014 21:12, Pavel Sanda:
>
> Hi folks,
>>
>> gcc is emitting
>> filetools.cpp: In function 'void lyx::support::fileUnlock(int, const
>> char*)':
>> filetools.cpp:1084:31: warning: ignoring return value of 'int lockf(int,
>> int,
24/03/2014 21:12, Pavel Sanda:
Hi folks,
gcc is emitting
filetools.cpp: In function 'void lyx::support::fileUnlock(int, const char*)':
filetools.cpp:1084:31: warning: ignoring return value of 'int lockf(int, int,
__off_t)', declared with attribute warn_unused_result [-Wunused-result]
Is it wor
Hi folks,
gcc is emitting
filetools.cpp: In function 'void lyx::support::fileUnlock(int, const char*)':
filetools.cpp:1084:31: warning: ignoring return value of 'int lockf(int, int,
__off_t)', declared with attribute warn_unused_result [-Wunused-result]
Is it worth to apply this patch to get rid