Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-24 Thread Dennis Schridde
Am Dienstag, 24. April 2007 schrieb [EMAIL PROTECTED]:
 What means that?  http://msdn.microsoft.com/vstudio/express/
 # Price: FREE!
 # Download Size: 35-70 MB per Express Edition
 Then platform SDK and all rest about 400MB I think.
free as in freedom, not free as in beer means he is not interested 
in Price: FREE!, but in Free: Use and distribute as you whish!

--Dennis


signature.asc
Description: This is a digitally signed message part.
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread Per Inge Mathisen
On 4/23/07, Giel van Schijndel [EMAIL PROTECTED] wrote:
  * Use a variable sized array for the scanline array

Much as I like variable size arrays, this will break MSVC builds,
since MSVC does not support this (it is not a C99-compatible compiler,
which really sucks).

  - Per

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread Angus Lees

On 4/23/07, Per Inge Mathisen [EMAIL PROTECTED] wrote:


On 4/23/07, Giel van Schijndel [EMAIL PROTECTED] wrote:
  * Use a variable sized array for the scanline array

Much as I like variable size arrays, this will break MSVC builds,
since MSVC does not support this (it is not a C99-compatible compiler,
which really sucks).



alloca() ?

--
- Gus
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread Giel van Schijndel
Angus Lees schreef:
 On 4/23/07, *Per Inge Mathisen* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 On 4/23/07, Giel van Schijndel [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
  * Use a variable sized array for the scanline array
 Much as I like variable size arrays, this will break MSVC builds,
 since MSVC does not support this (it is not a C99-compatible compiler,
 which really sucks).
 alloca() ?
alloca isn't even standard C, although most _modern_ C compilers support
it. Most compilers that support variable sized arrays define those in
terms of alloca. So someone who was MSVC will have to confirm that
alloca works with MSVC first.

Also on Microsoft's page for the C RunTime library reference for VS.NET,
they state at the end of the first section (on this page
http://msdn2.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx ):
This version of Visual C++ is not conformant with the C99 standard.

It seems that Microsoft is almost not working at their C-compiler any
more. So I'm wondering should we support a compiler that isn't supported
by their developers anymore?

-- 
Giel



signature.asc
Description: OpenPGP digital signature
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread The Watermelon

On 4/22/07, Giel van Schijndel [EMAIL PROTECTED] wrote:


Angus Lees schreef:
 On 4/23/07, *Per Inge Mathisen* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 On 4/23/07, Giel van Schijndel [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
  * Use a variable sized array for the scanline array
 Much as I like variable size arrays, this will break MSVC builds,
 since MSVC does not support this (it is not a C99-compatible compiler,
 which really sucks).
 alloca() ?
alloca isn't even standard C, although most _modern_ C compilers support
it. Most compilers that support variable sized arrays define those in
terms of alloca. So someone who was MSVC will have to confirm that
alloca works with MSVC first.

Also on Microsoft's page for the C RunTime library reference for VS.NET,
they state at the end of the first section (on this page
http://msdn2.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx ):
This version of Visual C++ is not conformant with the C99 standard.

It seems that Microsoft is almost not working at their C-compiler any
more. So I'm wondering should we support a compiler that isn't supported
by their developers anymore?

--
Giel


ofcourse we should,many users including myself uses MSVC to compile,and I
couldnt recall any free software I have used doesnt support MSVC
project/compiler
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread vs2k5
On Mon, 23 Apr 2007 08:53:38 -0400 The Watermelon 
[EMAIL PROTECTED] wrote:
On 4/22/07, Giel van Schijndel [EMAIL PROTECTED] wrote:

 Angus Lees schreef:
  On 4/23/07, *Per Inge Mathisen* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
  On 4/23/07, Giel van Schijndel [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
  wrote:
   * Use a variable sized array for the scanline array
  Much as I like variable size arrays, this will break MSVC 
builds,
  since MSVC does not support this (it is not a C99-compatible 
compiler,
  which really sucks).
  alloca() ?
 alloca isn't even standard C, although most _modern_ C compilers 
support
 it. Most compilers that support variable sized arrays define 
those in
 terms of alloca. So someone who was MSVC will have to confirm 
that
 alloca works with MSVC first.

 Also on Microsoft's page for the C RunTime library reference for 
VS.NET,
 they state at the end of the first section (on this page
 http://msdn2.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx ):
 This version of Visual C++ is not conformant with the C99 
standard.

 It seems that Microsoft is almost not working at their C-
compiler any
 more. So I'm wondering should we support a compiler that isn't 
supported
 by their developers anymore?

 --
 Giel

ofcourse we should,many users including myself uses MSVC to 
compile,and I
couldnt recall any free software I have used doesnt support MSVC
project/compiler

MSVC has best editor/debugger around.  Download the free express 
version, and you will see it really is excellent.

I no see real reason for use C99 specific code though, sometime it 
is bit easier, but only gcc supports it.  Original code is pure C, 
so will be shame to fork project if C99 will be used. :(

--
Tired of renting? Click here to buy a home without breaking the bank.  Get an 
interest only loan.
http://tagline.hushmail.com/fc/CAaCXv1KoI8B1Dfl1gfbXdQzC903kgnW/







___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread vs2k5
On Mon, 23 Apr 2007 03:31:47 -0400 Giel van Schijndel 
[EMAIL PROTECTED] wrote:
Angus Lees schreef:
 On 4/23/07, *Per Inge Mathisen* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 On 4/23/07, Giel van Schijndel [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
 wrote:
  * Use a variable sized array for the scanline array
 Much as I like variable size arrays, this will break MSVC 
builds,
 since MSVC does not support this (it is not a C99-compatible 
compiler,
 which really sucks).
 alloca() ?
alloca isn't even standard C, although most _modern_ C compilers 
support
it. Most compilers that support variable sized arrays define those 
in
terms of alloca. So someone who was MSVC will have to confirm that
alloca works with MSVC first.


I can confirm it no works.  It only is OK for C++ compiler.

--
Click to become an artist and quit your boring job
http://tagline.hushmail.com/fc/CAaCXv1P27275om20ZyZMlFZsXctWr2q/





___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread Giel van Schijndel
[EMAIL PROTECTED] schreef:
 On Mon, 23 Apr 2007 08:53:38 -0400 The Watermelon 
 [EMAIL PROTECTED] wrote:
   
 ofcourse we should,many users including myself uses MSVC to 
 compile,and I
 couldnt recall any free software I have used doesnt support MSVC
 project/compiler
 
As for Watermelon's comment: supporting something purely and only
because many users use it is stupid (i.e. numbers alone should not be
the motivation for supporting MSVC). I do believe there might be other
reasons for supporting MSVC, but I don't see number of users to be a
valid reason in that list.
 MSVC has best editor/debugger around.
Well that is of course your opinion, so I'm not going to say anything
for or against that.
 Download the free express 
 version, and you will see it really is excellent.
   
Sure, if you can tell me where to get it. And then only the free version
of course (not free as in beer, free as in freedom).

I have no problem with just doing a testrun or two with that compiler,
but actually using it is not something I would want to do.
 I no see real reason for use C99 specific code though, sometime it 
 is bit easier, but only gcc supports it.  Original code is pure C, 
 so will be shame to fork project if C99 will be used. :(
   
Well a very good reason: readability and ease of maintenance.

I'm just having trouble with making it ourselves difficult to maintain
code purely and only because company X doesn't support its product
anymore (i.e. in any other way than fixing some bugs in it).

-- 
Giel



signature.asc
Description: OpenPGP digital signature
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread Per Inge Mathisen
In 4/23/07, Giel van Schijndel [EMAIL PROTECTED] wrote:
 Well a very good reason: readability and ease of maintenance.

Ease of maintenance also means making it easy for people to use tools
they are used to. For good or bad (as you see it), MSVC is in active
use, and so should not be broken by patches.

  - Per

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 -/trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread Gerard Krol

This is interesting, in C++ mode MSVC seems to be almost C99 compatible:

http://groups.google.nl/group/comp.lang.c/browse_thread/thread/dbb0628227294c59/231a8816e8e87e3e

Could someone test this?

- Gerard

-Original Message-
From: [EMAIL PROTECTED] on behalf of Per Inge Mathisen
Sent: Mon 23-4-2007 21:57
To: Development list
Subject: Re: [Warzone-dev] [Warzone-commits] r1164 
-/trunk/lib/ivis_opengl/screen.c
 
In 4/23/07, Giel van Schijndel [EMAIL PROTECTED] wrote:
 Well a very good reason: readability and ease of maintenance.

Ease of maintenance also means making it easy for people to use tools
they are used to. For good or bad (as you see it), MSVC is in active
use, and so should not be broken by patches.

  - Per

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 - /trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread vs2k5
On Mon, 23 Apr 2007 15:40:54 -0400 Giel van Schijndel 
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] schreef:
 On Mon, 23 Apr 2007 08:53:38 -0400 The Watermelon 
 [EMAIL PROTECTED] wrote:
   
 ofcourse we should,many users including myself uses MSVC to 
 compile,and I
 couldnt recall any free software I have used doesnt support 
MSVC
 project/compiler
 
As for Watermelon's comment: supporting something purely and only
because many users use it is stupid (i.e. numbers alone should not 
be
the motivation for supporting MSVC). I do believe there might be 
other
reasons for supporting MSVC, but I don't see number of users to be 
a
valid reason in that list.
 MSVC has best editor/debugger around.
Well that is of course your opinion, so I'm not going to say 
anything
for or against that.
 Download the free express 
 version, and you will see it really is excellent.
   
Sure, if you can tell me where to get it. And then only the free 
version
of course (not free as in beer, free as in freedom).

What means that?  http://msdn.microsoft.com/vstudio/express/
# Price: FREE!
# Download Size: 35-70 MB per Express Edition  
Then platform SDK and all rest about 400MB I think.





___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] [Warzone-commits] r1164 -/trunk/lib/ivis_opengl/screen.c

2007-04-23 Thread vs2k5
On Mon, 23 Apr 2007 16:24:29 -0400 Gerard Krol 
[EMAIL PROTECTED] wrote:
This is interesting, in C++ mode MSVC seems to be almost C99 
compatible:

http://groups.google.nl/group/comp.lang.c/browse_thread/thread/dbb0
628227294c59/231a8816e8e87e3e

Could someone test this?

- Gerard

Yes, simple name file .cpp then can compile OK.
If change all .c files to .cpp cause errors in some files, stricter 
control over code, and this is lots to change. 







___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev