On Mon, Feb 18, 2013 at 9:38 AM, Charles Forsyth
charles.fors...@gmail.comwrote:
On 18 February 2013 13:02, Comeau At9Fans comeauat9f...@gmail.com wrote:
seems to be doing is setting up allowing the call to compile and once
that is satisfied then the subsequent definition has to match it, as
On Mon, Feb 18, 2013 at 10:02 AM, erik quanstrom quans...@quanstro.netwrote:
No, the compiler is simply applying scope rules. Without that inner
declaration explicitly overriding the outer declaration--whether
static or extern is used-- it will not compile (eg, if you put static
void
can you please stop sending html mails? thanks
On 2/21/13, Comeau At9Fans comeauat9f...@gmail.com wrote:
On Mon, Feb 18, 2013 at 9:38 AM, Charles Forsyth
charles.fors...@gmail.comwrote:
On 18 February 2013 13:02, Comeau At9Fans comeauat9f...@gmail.com
wrote:
seems to be doing is setting up
I think his mail client is just too world-class, breathtaking,
amazing, and fabulous--have you tried it?
On Thu, Feb 21, 2013 at 10:13 AM, hiro 23h...@gmail.com wrote:
can you please stop sending html mails? thanks
On 2/21/13, Comeau At9Fans comeauat9f...@gmail.com wrote:
On Mon, Feb 18,
On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote:
I think his mail client is just too world-class, breathtaking,
amazing, and fabulous--have you tried it?
On Thu, Feb 21, 2013 at 10:13 AM, hiro 23h...@gmail.com wrote:
can you please stop sending html mails? thanks
why does this
On Thu, Feb 21, 2013 at 1:39 PM, erik quanstrom quans...@quanstro.netwrote:
On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote:
I think his mail client is just too world-class, breathtaking,
amazing, and fabulous--have you tried it?
On Thu, Feb 21, 2013 at 10:13 AM, hiro
On Thu, Feb 21, 2013 at 01:39:14PM -0500, erik quanstrom wrote:
On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote:
I think his mail client is just too world-class, breathtaking,
amazing, and fabulous--have you tried it?
On Thu, Feb 21, 2013 at 10:13 AM, hiro 23h...@gmail.com
On Thu, Feb 21, 2013 at 10:46 AM, Comeau At9Fans
comeauat9f...@gmail.com wrote:
On Thu, Feb 21, 2013 at 1:39 PM, erik quanstrom quans...@quanstro.net
wrote:
On Thu Feb 21 13:23:26 EST 2013, j...@jfloren.net wrote:
I think his mail client is just too world-class, breathtaking,
amazing, and
Sorry, google's inconsistent mail interface made me post to the list
instead of private. I didn't mean to make this a discussion of
google's web technolgy, I just want to promote the sending of certain
compatible formats that everyone can read without problems.
My gmail only sends
Content-Type:
Can I run it on my iPhone?
Sent from my iPhone
On Feb 21, 2013, at 11:58 AM, andrey mirtchovski mirtchov...@gmail.com wrote:
good day. is this the p9p on osx help forum?
no, but drawterm will (i believe).
On 21 Feb 2013, at 20:27, David Leimbach leim...@gmail.com wrote:
Can I run it on my iPhone?
Sent from my iPhone
On Feb 21, 2013, at 11:58 AM, andrey mirtchovski mirtchov...@gmail.com
wrote:
good day. is this the p9p on osx help forum?
On Sat, Feb 16, 2013 at 9:38 PM, erik quanstrom quans...@quanstro.netwrote:
i don't think this should link, since wrongaddr calls
fn with an Outer* not an Inner*.
...
Normally in more mainstream C the nested static void fn(Outer*);
declaration would produce a diagnostic and instead what it
On 18 February 2013 13:02, Comeau At9Fans comeauat9f...@gmail.com wrote:
seems to be doing is setting up allowing the call to compile and once that
is satisfied then the subsequent definition has to match it, as perhaps a
way to do type punning.
No, the compiler is simply applying scope
No, the compiler is simply applying scope rules. Without that inner
declaration explicitly overriding the outer declaration--whether
static or extern is used-- it will not compile (eg, if you put static
void fn(Outer*); or extern void fn(Outer*); and remove static from
fn in the file scope).
On 18 February 2013 15:02, erik quanstrom quans...@quanstro.net wrote:
since nested functions are not allowed, applying nested scope seems
a bit odd.
Nevertheless, that is what it is.
i don't think this should link, since wrongaddr calls
fn with an Outer* not an Inner*.
#include u.h
#include libc.h
typedef struct Inner Inner;
typedef struct Outer Outer;
struct Inner {
int x;
};
struct Outer {
charbuf[0x1000];
Inner;
};
void
It's the compiler's prerogative to decide just how
the fields should be packed so therefore, the construct is never portable.
it's worse than that: you can't use them to access hardware structures, since
(especially if values are misaligned) there's no guarantee that the generated
code will
Example: Xen 2 used __attribute__ packed heavily, realized at some
point it was a bad idea, and took another path.
at the time, gcc on arm didn't generate the code to fetch or store the values a
byte
at a time, which probably came as a surprise. i haven't tried it myself with gcc
more recently.
actually, it gets worse. i looked up the stuff for ARM, and it was much
as i expected, but they also pointed out another problem, obvious in retrospect.
you say you want structure assignments to work, or at least not
fail. fair enough, but what about this:
S s;
int *p = s.c;
and then an appropriate sequence of byte-by-byte loads (or stores) will be
used to access it,
for static references such as s.c there's an optimisation that allows the
nearest
aligned values to be loaded, shifted masked, and or'd together to save
accesses
by byte, but that doesn't seem to be
it appears that ?c do not properly do structure
assignment if the structure is packed.
i've included a patch just for 8c and a sample
program that generates two packed assignment
warnings with the modified compiler.
feedback appreciated unless it's don't do that.
if this looks entirely
since it's a pragma, i suppose it shouldn't affect correctness.
still, i don't know how far down this route i'd like to go.
i'd actually plump for disabling the pragma.
(realistically, most of the original reasons for it have vanished,
since so much stuff is in gcc or c++.)
still, what are you
I've a need for the pragma. We're using it. That's how I found the problem.
bwc
On Sep 14, 2010, at 4:20 PM, Charles Forsyth wrote:
since it's a pragma, i suppose it shouldn't affect correctness.
still, i don't know how far down this route i'd like to go.
i'd actually plump for disabling
On Tue, Sep 14, 2010 at 1:59 PM, Brantley Coile brant...@coraid.com wrote:
I've a need for the pragma. We're using it. That's how I found the problem.
bwc
I can tell you that people who use this sort of thing at some point
discover it's not really what they wanted. They end up writing
24 matches
Mail list logo