Bug Report T844580
Visible to All Users

Compile errors occur if the "Code inlining control" option is set to Auto in compiler settings

created 5 years ago

Hello,

In one of my projects, I get

[dcc32 Error] dxRichEdit.Api.Formatting.pas(3664): E2010 Incompatible types: 'TModelStyle' and 'TdxStyleBase' when I add these units to a .pas

,dxRichEdit.NativeApi,
  dxRichEdit.Types, dxRichEdit.Options, dxRichEdit.Control,
  dxRichEdit.Control.SpellChecker, dxRichEdit.Dialogs.EventArgs,
  dxBarBuiltInMenu, dxRichEdit.Platform.Win.Control, dxRichEdit.Control.Core,
  dxRichEdit.Html

Once I get this error, no matter what I do I cannot get rid of it. For instance, my project was compiling fine with the units and I added a Indy unit to my file. (IdException.pas). If I remove the IdException.pas, I clean everything dcu, etc. No matter what I do the error still appears.

Show previous comments (2)

    I forgot to mention that a small project will not reproduce the error.

      Hum…

      For this project, this compiler's option, always cause the error.

      <DCC_Inlining>auto</DCC_Inlining>

      Setting the option to off or on instead of auto and the project compile correctly.

      DevExpress Support Team 5 years ago

        Hello,

        Thank you for the info. We will examine it.

        Answers approved by DevExpress Support

        created 5 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.