Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-05-30

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:45 FireFly left #rosettacode
01:39 realzies is now known as trolzies
03:39 soniakeys left #rosettacode
03:57 trolzies left #rosettacode
03:58 trolzies joined #rosettacode
03:58 trolzies left #rosettacode
03:59 trolzies joined #rosettacode
06:54 MigoMipo joined #rosettacode
07:03 MigoMipo left #rosettacode
07:16 icehawk joined #rosettacode
07:45 icehawk I'm getting a warning in this code: http://pastebin.com/dAeqAZq5 (see below)
07:45 fedaykin "[C] c code with warning - Pastebin.com"
07:46 icehawk and I wonder what causes this (haven't been able to figure out)
07:46 icehawk and how to get rid of the warning
07:57 sorear That shouldn't compile at all.
07:57 sorear When defining an array, you need to use struct Liste neu[3] = { ... }
07:58 sorear struct Liste *neu is used for referencing arrays defined elsewhere (perhaps using malloc)
07:59 Hypftier the warning implies that it's a scalar initializer. I'm still stuck in C89, so maybe it's something new. In that case I guess making neu a pointer is probably the problem as the initializer won't to a malloc for you/
08:00 sorear Hypftier: it's a scalar initializer because ey used a pointer type
08:00 sorear with [3], it's valid C89 too
08:01 Hypftier Ah, I though it'd be something like C#'s object initializers where you can give values to members at initialization.
08:03 sorear out of curiousity, does 'LC_MESSAGES=C gcc bla.c' or 'LC_MESSAGES=en gcc bla.c' do anything useful?
08:03 sorear (not that it matters much here, the problem is obvious looking at the code.)
08:04 sorear (also, cognates.)
08:43 icehawk left #rosettacode
10:36 mwn3d_phone joined #rosettacode
12:35 FireFly joined #rosettacode
15:15 MigoMipo joined #rosettacode
15:20 trolzies is now known as yoyoz
16:21 realazthat_ joined #rosettacode
16:21 yoyoz left #rosettacode
16:50 realazthat_ left #rosettacode
17:11 realazthat_ joined #rosettacode
17:15 BenBE left #rosettacode
17:41 realazthat_ is now known as trolz
19:21 trolz left #rosettacode
19:22 trolz joined #rosettacode
19:34 axisys left #rosettacode
20:17 kpreid joined #rosettacode
20:27 rjnienaber joined #rosettacode
20:29 mwn3d_phone left #rosettacode
20:44 trolz is now known as yoyoyo
20:51 yoyoyo is now known as realzies
20:58 mwn3d_phone joined #rosettacode
21:18 realzies is now known as wabbit
21:18 wabbit is now known as wabit
21:38 parsleyfirefly joined #rosettacode
21:45 MigoMipo left #rosettacode
22:31 FireFly left #rosettacode
23:46 rjnienaber left #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary