> Urk. I love these types of comments ;-) > Here's what hello.o looks like when hello.c uses > __declspec(dllimport) (and hwstr.c uses __declspec(dllexport)). > Recall that this configuration works as expected. Right, because we're effectively telling gcc that hwstr1 is a pointer, not an array. That changes how gcc generates code. Pointers must be indexed at runtime, arrays may be indexed at compile time. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
- Re: [[email protected]: A serious bug of "l... Charles S. Wilson
- Re: [[email protected]: A serious bug of &q... DJ Delorie
- Re: [[email protected]: A serious bug of &q... Charles Wilson
- Re: [[email protected]: A serious bug of &q... DJ Delorie
- Re: [[email protected]: A serious bug of &q... Charles Wilson
- Re: [[email protected]: A serious bug of &q... DJ Delorie
- Re: [[email protected]: A serious bug of &q... Charles Wilson
- Re: [[email protected]: A serious bug o... Kurt Roeckx
- Re: [[email protected]: A serious bug of &q... DJ Delorie
- Re: [[email protected]: A serious bug o... Charles Wilson
