From: SourceForge.net <no...@so...> - 2003-04-30 04:53:22
|
Bugs item #729764, was opened at 2003-04-29 18:19 Message generated for change (Comment added) made by sdattalo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=729764&group_id=599 Category: pic target Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jim Hawkridge (firefly79) >Assigned to: Scott Dattalo (sdattalo) Summary: Symbol not previously defined (fbitfieldXX) Initial Comment: Attempting to write to an SFR causes SDCC to produce code that will not assemble with gpasm. A symbol fbitfieldXX (where XX is the hex address of the register containing the bit) is used without being declared. The following code: #define __16F877 #include "p16f877.h" void main() { CREN = 1; } produces the output: Processor: p16f877 No registers saved on this pass No registers saved on this pass test.asm:246:Error [113] Symbol not previously defined (fbitfield18). test.asm:317:Error [116] Value of symbol "_CREN" differs on second pass pass 1=0, pass 2=196 ---------------------------------------------------------------------- >Comment By: Scott Dattalo (sdattalo) Date: 2003-04-30 04:53 Message: Logged In: YES user_id=11911 Yep, This is a bug ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=729764&group_id=599 |