Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Replacement function 'operator new' cannot be declared 'inline'

Community Beginner ,
Mar 25, 2016 Mar 25, 2016

Hi Experts,

I am new to SDK Development. I have using Xcode 6.1 and ID CC 2014, while build the SDK plugin sample project, i have faced some issues, please look below the screen short for better understanding.

Screen Shot 2016-03-26 at 10.17.06 am.png

Regards,

Velladurai.G

TOPICS
SDK
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 28, 2016 Mar 28, 2016

Hi Velladurai,

The Xcode version that you are using to compile your plugin is not the recommended version and is bound to cause issues. The recommended version of Visual Studio and Xcode for a particular Indesign version can be identified by referring the docs shipped with the InDesign SDK. For CC2014 and CCCC2015 the recommended version of Xcode is 5.0.2.

-Manan

Translate
Community Expert ,
Mar 28, 2016 Mar 28, 2016

Hi Velladurai,

The Xcode version that you are using to compile your plugin is not the recommended version and is bound to cause issues. The recommended version of Visual Studio and Xcode for a particular Indesign version can be identified by referring the docs shipped with the InDesign SDK. For CC2014 and CCCC2015 the recommended version of Xcode is 5.0.2.

-Manan

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 28, 2016 Mar 28, 2016

Thanks Manan.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 07, 2018 Aug 07, 2018
LATEST

I had the same problem, I was using Xcode 5.1.1 and I disabled the warning by adding "-Wno-inline-new-delete" flag in the "Apple LLVM 5.1 - Custom Compiler flags" and it works fine.@IDScript @Manan%20JoshiScreen Shot 2018-08-07 at 1.17.12 pm.png​

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines