Getting Started issues

Issue #277 resolved
Russell Hewett created an issue

On the Getting Started page of the wiki, there are a number of issues. For the source, I’ve attached corrected source files to the issue.

  1. The compilation strings in the first example is incorrect. As Blaze stopped supporting c++98 around v2.7 (I think), the -ansi option should be removed and replaced with --std=c++14 (or --std=c++17), if the intent is to disable the GNU extensions.
  2. The test programs are not actually programs. This is fine, it is trivial for users to wrap things in main functions, but it might be nice to have it already there for copy-paste purposes or even as a downloadable file, or even as part of the repo itself.
  3. The second example is missing the #include <iostream>.
  4. The listed outputs do not match the default output style.

Comments (7)

  1. Klaus Iglberger

    Hi Russel!

    Thanks for taking the time to create this issue. Whereas points 2 to 4 are debatable, your first point is an important oversight. Thanks for that! We will update the examples as soon as possible.

    Best regards,

    Klaus!

  2. Russell Hewett reporter

    Agreed on point 2 being debatable. 3 is just inconsistency in the examples, which is not a huge issue, but is trivially fixed. 4 is absolutely true though, but also not strictly necessary to update.

  3. Klaus Iglberger

    Please don’t get me wrong: This is very valuable input, which is very much appreciated! Therefore many thanks for taking the time to write this up.

    Best regards,

    Klaus!

  4. Klaus Iglberger

    The "Getting Started" examples have been updated in both the wiki and the tutorial. The updated wiki is already online, the updated tutorial will be officially released in Blaze 3.6.

  5. Log in to comment