# PC demo cannot be compiled (open watcom)

**URL:** <https://forums.freertos.org/t/pc-demo-cannot-be-compiled-open-watcom/954>\
**Category:** Kernel\
**Created:** [February 20, 2006, 12:57pm UTC](https://forums.freertos.org/t/pc-demo-cannot-be-compiled-open-watcom/954 "2006-02-20T12:57:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 20, 2006, 12:57pm UTC](https://forums.freertos.org/t/pc-demo-cannot-be-compiled-open-watcom/954/1 "2006-02-20T12:57:56Z")

</div>

**nobody** wrote on [Monday, February 20, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/28033c81/#b2cc):

Hi,  
I’ve tried to compile the PC demo(FreeRTOS version 3.2.4) with the open watcom compiler(Version 1.4), but i get the following errors:  
…\…\source\portable\owatcom\16bitdos\common\portcomn.c(85): Warning! W131: No prototype found for function ‘FP\_SEG’  
…\…\source\portable\owatcom\16bitdos\common\portcomn.c(87): Warning! W131: No prototype found for function ‘FP\_OFF’

Any idea?

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 20, 2006, 1:24pm UTC](https://forums.freertos.org/t/pc-demo-cannot-be-compiled-open-watcom/954/2 "2006-02-20T13:24:05Z")

</div>

**nobody** wrote on [Monday, February 20, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/28033c81/#b2cc/3ef4):

These macros are used in the portable layer code to get the segment and offset from an address.&nbsp; They are included in the open watcom header file i86.h.

I use V1.4 without getting this error.&nbsp; Have you changed any of the project options?&nbsp; Can you build the project as it was downloaded without any modifications?
