Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printf positional specifiers don't work as described #4290

Closed
vicuna opened this issue May 24, 2007 · 2 comments
Closed

printf positional specifiers don't work as described #4290

vicuna opened this issue May 24, 2007 · 2 comments
Assignees

Comments

@vicuna
Copy link

vicuna commented May 24, 2007

Original bug ID: 4290
Reporter: Hendrik Tews
Assigned to: @pierreweis
Status: closed (set by @pierreweis on 2007-05-25T07:46:46Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.0
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #3992

Bug description

according to the docs both "%2$f" and "%.*3$f" are valid format strings. However:

    Objective Caml version 3.10.0

Printf.printf "%2$f";;

Bad conversion %$, at char number 0 in format string ``%2$f''

Printf.printf "%.*3$f";;

Bad conversion %3, at char number 0 in format string ``%.*3$f''

@vicuna
Copy link
Author

vicuna commented May 25, 2007

Comment author: @pierreweis

Duplicate of #4204

@vicuna vicuna closed this as completed May 25, 2007
@vicuna
Copy link
Author

vicuna commented Sep 11, 2008

Comment author: @damiendoligez

fixed by removing positional specifiers from the doc (for the time being)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants