Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1329

couch_js/utf8.h:19:7: error: no newline at end of file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.1.1
    • 1.2, 1.2.1, 1.3
    • JavaScript View Server
    • None
    • likely anybody compiling with gcc -pedantic or -Werror

    Description

      ISO C 1999 requires a newline at the end of every non-blank source file:

      http://c0x.coding-guidelines.com/5.1.1.2.html vis
      "123 A source file that is not empty shall end in a new-line
      character, which shall not be immediately preceded by a backslash
      character before any such splicing takes place. "

      Thanks Mike Kimber for reporting this bug.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dch Dave Cottlehuber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: