8000 [conio][bug][all targets] `cprintf("%03u",123);` broken on several (all?) targets · Issue #2680 · cc65/cc65 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[conio][bug][all targets] cprintf("%03u",123); broken on several (all?) targets #2680
Closed
@Fabrizio-Caruso

Description

@Fabrizio-Caruso

In my Cross-Lib framework I use the following macro to display digits.


    #define _XL_PRINTD(x,y,length,val) \
    do \
    { \
        gotoxy(x+X_OFFSET,Y_OFFSET+y); \
        cprintf("%0" #length "u",val); \
    } while(0)

This used to work in previous cc65 version. It no longer works in recent cc65 versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0