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] [August 2006 Threads] FreeRTOS for LPC213X_IAR issue with 'queue.c'Posted by Nobody/Anonymous on August 9, 2006 Having 'xQueueHandle' declared differently in queue.c and queue.h gives me a W6 warning (type conflict) at link time for: xQueueCreate, xQueueReceive, xQueueReceiveFromISR, xQueueSend, and xQueueSendFromISR functions.
The xQueueHandle is defined as a 'void *' !!?? (in queue.h) Why isn't the xQUEUE structure and the xQueueHandle typedef, just moved in queue.h, so we simply have to include queue.h and use it, as it is defined ?
Regards,
Yves Lavoie
RE: FreeRTOS for LPC213X_IAR issue with 'queue.c'Posted by Richard on August 9, 2006 Data hiding. The implementation of the queue is completely hidden from code outside of the queue.c source file. This means the user cannot directly alter the structures or have any other dependency on the queue implementation. In theory you could completely change the queue implementation and be guaranteed not to break any other code.
You can turn the warning off.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|