Python Community Server: Development

A weblog about programming in Python, C#, Java, Perl and C++ - and the occasional comment on PyCS development
new: discuss community servers on the CommunityServerWiki!

SunMonTueWedThuFriSat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

[ Aug ] [ Oct ]

the locals
also available in XML
Copyright (c) 2002 Phillip Pearson
spread the dot

2002-9-20

Devlog on bzero

Just as an experiment, I've exported all the posts from this Radio blog out into bzero format. A bit of hackery was required to get the comments lining up properly (bzero postids are different from Radio ones) but it looks like everything's going OK now.

Comment on this post [ so far]

Meaningful documentation

From a page on MSDN:

    Compiler Error C2057
    expected constant expression

    The context requires a constant expression.

Ooh, informative.

Comment on this post [ so far]

MSVC vs GCC

Hmm ... looks like GCC is a little more flexible at allocating memory than MSVC:

C:\1>g++ -Wall foo.c
foo.c: In function `int main()':
foo.c:4: warning: unused variable `char y[((bar - 1) + 1)]'

C:\1>cl /Wall foo.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86
Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

foo.c
foo.c(4) : error C2057: expected constant expression
foo.c(4) : error C2466: cannot allocate an array of constant size 0
foo.c(4) : error C2133: 'y' : unknown size

Comment on this post [ so far]