harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [build] HWA doesn't work
Date Fri, 01 Dec 2006 00:50:58 GMT
That's a reasonable argument.  Move the definition to the header file then.

geir


Ivan Volosyuk wrote:
> I will call it a bug in source base, because if we define inline
> function in cpp file it should only be used inside it. Any public
> inline functions should be defined in header files.
> 
> Intel compiler is much more aggressive for optimizations, this require
> a cleaner code to be written in order to use it. Some of the
> optimizations trigger bugs in source which are happily invisible by
> other compilers, I recall one such a case which I have fixed only
> after attentive examination of generated machine code.
> -- 
> Ivan
> 
> On 11/30/06, Mikhail Fursov <mike.fursov@gmail.com> wrote:
>> On 11/30/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
>> >
>> >
>> > I absolutely don't understand how you can claim a "hint" like "inline"
>> > can be considered a bug in the source when the sourcebase is being
>> > compiled by the same compiler.  can you explain?
>> >
>> > The only logical reason I can find is a miscommunication between 
>> compiler
>> and linker.

Mime
View raw message