Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Preprocessor issue
Thu, Jul 6 2017 4:26 AMPermanent Link

Matthew Jones


{$IFNDEF DESIGN}
{$DEFINE DEBUG_REPORT_ENABLE}
{$DEFINE x_DEBUG_FORMLIST}
{$DEFINE xDEBUG_SCROLL}
{$DEFINE DEBUG_LOWEST}
{$ENDIF}

When the library is being built, at IDE load time, should DEBUG_REPORT_ENABLE be defined?

I have the line in my uses clause:
{$IFDEF DEBUG_REPORT_ENABLE} uDebugReport, {$ENDIF}

which fails to compile at IDE load time. (Not yet using today's build of 206)

--

Matthew Jones
Thu, Jul 6 2017 11:35 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< which fails to compile at IDE load time. (Not yet using today's build of 206) >>

I suspect that the issue is that the DEFINEs aren't set yet when the uses clause is parsed.

If you want to send me the project, I can tell you for sure.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jul 6 2017 12:14 PMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> If you want to send me the project, I can tell you for sure.

I've sent the file that matters.

--

Matthew Jones
Image