Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

too many arguments for format string #640

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 30, 2018

  1. too many arguments for format string

    Spotted via the compiler warnings trying to build FALCON locally,
    
    ```
    src/c/DW_banded.c: In function ‘my_calloc’:
    src/c/DW_banded.c:109:17: warning: too many arguments for format [-Wformat-extra-args]
                     msg, nitems, size, lineno);
                     ^
    ```
    
    This change expands the logging to record the line number argument.
    The message could be logged too, but might be long, so I have included
    the ellipse in the message to indicate there is another argument to
    calloc not being recorded.
    peterjc committed May 30, 2018
    Configuration menu
    Copy the full SHA
    d250844 View commit details
    Browse the repository at this point in the history