[Commits] [wesnoth/wesnoth] 078efb: preproc: Use the same format as #error for reporti...

GitHub noreply at github.com
Tue Jan 13 00:01:15 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 078efb0090f5d6448423a39a5e469b46d18a3604
      https://github.com/wesnoth/wesnoth/commit/078efb0090f5d6448423a39a5e469b46d18a3604
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M changelog
    M src/serialization/preprocessor.cpp

  Log Message:
  -----------
  preproc: Use the same format as #error for reporting #warning lines

Adds a preprocessor_streambuf::warning() method, equivalent to
preprocessor_streambuf::error() but logging to the warning logger and
returning to the caller instead of throwing an exception.





More information about the Commits mailing list