Asm deprecated notice on gcc 4.1.1


#1

compiling with gcc 4.1.1 i have noticed this:

juce_DrawableComposite.cpp
…/…/src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp: In member function `void juce::LowLevelGraphicsSoftwareRenderer::clippedFillRectWithColour(const juce::Rectangle&, int, int, int, int, const juce::Colour&, bool)’:
…/…/src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp:251: warning: use of memory input without lvalue in asm operand 2 is deprecated

it’s not an error, but i think it’s better to mention it :slight_smile:


#2

Yes, I saw that, but have absolutely no idea what it means. If anyone understands the horrible gcc syntax enough to translate this into english, I’d love to know.


#3

pretty obscure to me… let’s see if googling help out


#4

Just a wild stab in the dark (which, incidentally, is what the author of that warning message deserves) - the warning might be for the fact that the code generator is out of step with the assembler (i.e. trying to generate code which is due to be deprecated)


#5