[PATCH v2] ruby: extern linkage portability improvement

2012-06-29 Thread David Bremner
Tomi Ollila writes: > Some C compilers are stricter when it comes to (tentative) definition > of a variable -- in those compilers introducing variable without 'extern' > keyword always allocates new 'storage' to the variable and linking all > these modules fails due to duplicate symbols.

[PATCH v2] ruby: extern linkage portability improvement

2012-06-25 Thread David Bremner
Tomi Ollila writes: > Some C compilers are stricter when it comes to (tentative) definition > of a variable -- in those compilers introducing variable without 'extern' > keyword always allocates new 'storage' to the variable and linking all > these modules fails due to duplicate symbols. LGTM

Re: [PATCH v2] ruby: extern linkage portability improvement

2012-06-25 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: Some C compilers are stricter when it comes to (tentative) definition of a variable -- in those compilers introducing variable without 'extern' keyword always allocates new 'storage' to the variable and linking all these modules fails due to duplicate

[PATCH v2] ruby: extern linkage portability improvement

2012-06-24 Thread Tomi Ollila
Some C compilers are stricter when it comes to (tentative) definition of a variable -- in those compilers introducing variable without 'extern' keyword always allocates new 'storage' to the variable and linking all these modules fails due to duplicate symbols. This is reimplementation of Charlie

[PATCH v2] ruby: extern linkage portability improvement

2012-06-24 Thread Tomi Ollila
Some C compilers are stricter when it comes to (tentative) definition of a variable -- in those compilers introducing variable without 'extern' keyword always allocates new 'storage' to the variable and linking all these modules fails due to duplicate symbols. This is reimplementation of Charlie

Re: [PATCH v2] ruby: extern linkage portability improvement

2012-06-24 Thread Ali Polatel
2012/6/24 Tomi Ollila tomi.oll...@iki.fi: Some C compilers are stricter when it comes to (tentative) definition of a variable -- in those compilers introducing variable without 'extern' keyword always allocates new 'storage' to the variable and linking all these modules fails due to duplicate