On Wed, Jul 15, 2009 at 11:32 PM, Corey
Ashford<[email protected]> wrote:
> (forgot to attach the patch, so here it is)
>
> Hi,
>
> I've made a stab at consolidating the event and group types for the Power
> chips (ppc970 through Power7).
>
> I'm not real happy with the result.  It is a little more compact in the
> coding of the case statements, but in gaining some compaction, we've lost
> some clarity.
>
> I made an attempt to be able to use one pair of types for all processors,
> but the C99 language doesn't appear to like things like this:
>
> int *foo = { 1, 2, 3 };
>
but this would probably work:
   int foo[] = { 1, 2, 3}
or
   int bar[] = { 1, 2, 3}
   int * foo = bar;

But I suspect you want foo[]. sizeof(foo) will return the correct information.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to