[PD-dev] sys_externlist declared in two places

Mathieu Bouchard matju at artengine.ca
Mon Dec 18 14:09:04 CET 2006


On Sun, 17 Dec 2006, Miller Puckette wrote:

> It's a mistake... I think the one in s_main.c should go.  C code since
> the 70s (at least) has allowed duplicate definitions of uninitialzed
> data, but everyone knows it's wrong :)

It's not C that allows it, it's the linker and the concept of separate 
compilation. It's a feature that comes from assembly language. I can't see 
that feature really going away with any new standard of the C language 
because it's just not something specified by that spec.

(ok, I'm not 100% sure on that)

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada


More information about the Pd-dev mailing list