Re: Why not work is logical?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



O Sáb, 15-04-2006 ás 08:07 -0500, Perry Smith escribiu:

> 
> I had trouble getting your original declaration of link to compile
> with either C or C++ so I'm curious if you did.  My compiler
> complained that all but the first dimension had to be defined.

unsigned int (*ui)[][]; /* Pointer to variable size multidimensional
array of unsigned ints? */
unsigned int (*pointer_ui)[x][y]/*pointer to Matrix[x][y] of unsigned ints*/ = (unsigned int (*)[x][y]) /*cast */ ui;


The same problem strange results. I need use pointer to matrix to get
mmap output as pointer to matrix.

Compile without any problem, gcc-3.4.3-9 -Wall enabled.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux