#253 [PIC16F]#ifdef problem around macro

None
closed
None
1
2012-09-15
2012-08-19
Gál Zsolt
No

I found a little bug when I wanted compile an old project.
if I define the 'dummy' word in this example, the compiler works fine. If I don't define the 'dummy' word, the compiler gives me error message:
teszt_v001.asm:22: HibaExecutable code and data must be defined in an appropriate section.
teszt_v001.asm:23: HibaExecutable code and data must be defined in an appropriate section.

1 Attachments

Discussion

  • Gál Zsolt

    Gál Zsolt - 2012-08-19

    This problem appeared since rev. 767. ( rev 766 doesn't give error )

     
  • Borut Ražem

    Borut Ražem - 2012-08-27

    Fixed in svn revision #776.

    Borut

    • status: open --> closed
    • assigned_to: Borut Ražem
     
  • Gál Zsolt

    Gál Zsolt - 2012-08-27

    Hello,

    I can't agree with you. I checked out the latest version of gputils and the compiler gives the message if I don't define the "dummy" word in the example:
    Executable code and data must be defined in an appropriate section.

    Checked out revision 781.

    gpasm -v
    gpasm-0.14.2 #774 (Aug 27 2012)
    (-------------^^^ this is another question )

     
  • Borut Ražem

    Borut Ražem - 2012-08-27

    Hi Gal,

    you are probably still using the old obsolete svn repository.

    You should use the new one as documented on gputils web page:

    RW access:

    svn checkout --username=user_name svn+ssh://user_name@svn.code.sf.net/p/gputils/code/trunk .
    

    RO access:

    svn checkout svn://svn.code.sf.net/p/gputils/code/trunk .
    

    HTTP access:

    svn checkout --username=user_name https://svn.code.sf.net/p/gputils/code/trunk .
    

    I sent the "Gputils project upgrade to Allura intrface" announcement mail to the gputils mailing list on 15.8.2012 but unfortunately it didn't reach the subscribers. Now I resent it.

    Borut

     
  • Gál Zsolt

    Gál Zsolt - 2012-08-28

    Hello,

    You gave me right direction. The problem disappeared. I modified the script which I used to check out the source code.
    Thank you.

    Checked out revision 778.

    gpasm -v
    gpasm-0.14.2 #777 (Aug 28 2012)

     

Anonymous
Anonymous

Cancel  Add attachments