Book a Demo

Author Topic: gcc __attribute__ on C import  (Read 4378 times)

TageKorsdal

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
gcc __attribute__ on C import
« on: January 25, 2007, 01:47:15 pm »
I have an embedded C project I would like to import.

The import process stops when an __attribute__((section("x"))) is encountered, with a "Unexpected symbol: (" exception.

I would suggest that the __attribute__ specifiers is simply ignored.

« Last Edit: January 25, 2007, 01:47:45 pm by TageKorsdal »

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: gcc __attribute__ on C import
« Reply #1 on: January 26, 2007, 03:11:35 am »
Haven't tried it for __attribute__, but see if this lets you ignore the qualifier:

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1103110378

(In other words - always try searching the forum first [set Days = 9999] !!)
« Last Edit: January 26, 2007, 03:14:13 am by mikewhit »