FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2005 Threads] Inlining with gcc 3.4.3Posted by Jörg Krein on April 18, 2005 Hi, I don't know if previous version of gcc behave different but with newest WinAVR i can see warnings like: task.h:922: warning: inlining failed in call to 'vTaskSwitchContext': function body not available
RE: Inlining with gcc 3.4.3Posted by Richard on April 18, 2005 The inlining is a little optimistic. It only has an effect with one of the x86 ports (one of the original ports). Previously I doubt very much it actually got inlined anyway so it is probably only the generation of the warning that has changed.
However, I am using gcc V3.4.3 and do not see the warning. Are you using the files as downloaded?
To remove the warning you can add the line:
#define inline
at the bottom of the portmacro.h file you are using. This will #define away all the inlines without actually changing the compiler output.
Incidentally, V3.0.0 of FreeRTOS no longer uses the batch files to build the AVR demo. Improvements in the debug support within WinAVR means they are no longer required.
Regards.
RE: Inlining with gcc 3.4.3Posted by Nobody/Anonymous on April 19, 2005 I use the -Winline option to see if my own inlines are working I didn't use the batch files
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|