Book a Demo

Author Topic: [Help!] You may need to define a language macro  (Read 8479 times)

sabfalte

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
[Help!] You may need to define a language macro
« on: September 26, 2007, 05:16:15 am »
I am trying to import existing code into a new model and keep getting errors from code like:


   virtual CORBA::Char* identifier()
     ACE_THROW_SPEC ((
       CORBA::SystemException
     ));


I get errors saying "You may need to define a language macro".  

I tried, prior to import, Settings->Preprocessor Macros, Add New and added "ACE_THROW_SPEC" but this had no effect.

Am I doing something wrong?

Any advice would be much appreciated.  Help turn my  :( into a  :)




« Last Edit: September 26, 2007, 05:16:44 am by sabfalte »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: [Help!] You may need to define a language macr
« Reply #1 on: September 26, 2007, 01:11:44 pm »
Add "ACE_THROW_SPEC()" instead as you want it to skip over the contents of the brackets.

sabfalte

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: [Help!] You may need to define a language macr
« Reply #2 on: September 27, 2007, 04:57:47 am »
Quote
Add "ACE_THROW_SPEC()" instead as you want it to skip over the contents of the brackets.


This worked just fine, thank you very much for your help.


jeanfrancois

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: [Help!] You may need to define a language macr
« Reply #3 on: August 06, 2010, 03:59:39 pm »
Is there any way to add such macros through the EA sdk?