Re: [Libreoffice] Declarations after statements

2011-10-10 Thread Michael Meeks

On Sat, 2011-10-08 at 16:05 +0200, Fridrich Strba wrote:
 I cannot ask people to build on Windows, but could we add for those gcc 
 cases simply -Wdeclaration-after-statement warning, so people at least 
 see what is happening and so that tinderboxes whose turnaround is faster 
 then those of windows might alert early?

Oooh ! :-) that sounds really useful. Lets commit it and see what
happens. Are there any other warnings we can turn on on Linux that will
help the long suffering Windows guys ?

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Declarations after statements

2011-10-10 Thread Pierre-André Jacquod

Hello,


Declarations after statements are possible only in C99. And MSVC does
not support C99 (refrain from bitching here, please).


sorry Tor, I was not enthusiasm, just systematic and from *xes world.
... and I am - almost - too young to know there was a C89 before...

If time allows, I will try during the dark winter days to compile with 
this strange outdated software called , kind of a black power as I 
heard, MSVC 2010 :-)


regards
Pierre-André
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Declarations after statements

2011-10-10 Thread Dennis E. Hamilton
It would seem that, unless C-unique incompatibilities with C++ are involved, 
compiling as C++,
even though only C constructs are used, does the job in VC++.  One can still 
force C
calling conventions but that might take more work if C Language header files 
have not been 
adjusted to work properly with either of C/C++. 

-Original Message-
From: libreoffice-bounces+dennis.hamilton=acm@lists.freedesktop.org 
[mailto:libreoffice-bounces+dennis.hamilton=acm@lists.freedesktop.org] On 
Behalf Of Pierre-André Jacquod
Sent: Monday, October 10, 2011 12:06
To: Tor Lillqvist; LibreOffice List
Subject: Re: [Libreoffice] Declarations after statements

Hello,

 Declarations after statements are possible only in C99. And MSVC does
 not support C99 (refrain from bitching here, please).

sorry Tor, I was not enthusiasm, just systematic and from *xes world.
... and I am - almost - too young to know there was a C89 before...

If time allows, I will try during the dark winter days to compile with 
this strange outdated software called , kind of a black power as I 
heard, MSVC 2010 :-)

regards
Pierre-André
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


smime.p7s
Description: S/MIME cryptographic signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Declarations after statements

2011-10-08 Thread Fridrich Strba

Hello,

Declarations after statements are possible only in C99. And MSVC does 
not support C99 (refrain from bitching here, please).


I cannot ask people to build on Windows, but could we add for those gcc 
cases simply -Wdeclaration-after-statement warning, so people at least 
see what is happening and so that tinderboxes whose turnaround is faster 
then those of windows might alert early?


F.
--
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice