Weird pointer declaration bug

Alexandre Oliva aoliva@redhat.com
Sun Aug 27 15:39:00 GMT 2000


On Aug 27, 2000, Karl-Max Wagner <karlmax@oberland.net> wrote:

> I recently had weird behaviour in a medium C project and finally
> found out that pointer variables declared in a function are not
> correctly allocated memory space.

Just the way the C Standard says it should be.  You must allocate
space explicitly, or not declare the variables as pointers.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-bugs mailing list