Getting Started issues
Issue #277
resolved
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.
- 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. - 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.
- The second example is missing the
#include <iostream>
. - The listed outputs do not match the default output style.
Comments (7)
-
-
-
assigned issue to
-
assigned issue to
-
- changed status to open
-
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.
-
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!
-
reporter No incorrect intent taken!
-
- changed status to resolved
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.
- Log in to comment
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!