Skip to content

Fix mac builds#94

Merged
jimson-msft merged 6 commits intodevelopfrom
user/jimson/fix_mac_builds
Oct 12, 2021
Merged

Fix mac builds#94
jimson-msft merged 6 commits intodevelopfrom
user/jimson/fix_mac_builds

Conversation

@jimson-msft
Copy link
Contributor

No description provided.

@jimson-msft jimson-msft requested a review from a team as a code owner October 12, 2021 02:03
@shishirb-MSFT
Copy link
Collaborator

shishirb-MSFT commented Oct 12, 2021

#if !defined(DO_ENABLE_EXCEPTIONS)

Noticed this now: shouldn't this be defined instead of not-defined?


In reply to: 940597645 #Closed


Refers to: sdk-cpp/src/internal/rest/do_config_internal.cpp:89 in 37d2bb6. [](commit_id = 37d2bb6, deletion_comment = False)

#include <boost/property_tree/json_parser.hpp>
#include "do_persistence.h"
#include "do_version.h"
#elif defined(DO_CLIENT_DOSVC)
Copy link
Collaborator

@shishirb-MSFT shishirb-MSFT Oct 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO_CLIENT_DOSVC

It is odd that only the dosvc build requires this header. #Closed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see it now - msdo::errc::e_not_impl below. Sometimes it is worth commenting like this:

#include "do_errors.h" // msdo::errc::e_not_impl

@shishirb-MSFT
Copy link
Collaborator

#if !defined(DO_ENABLE_EXCEPTIONS)

Actually, just remove this because this whole section uses exceptions anyway.


In reply to: 940597645


Refers to: sdk-cpp/src/internal/rest/do_config_internal.cpp:89 in 37d2bb6. [](commit_id = 37d2bb6, deletion_comment = False)

Copy link
Collaborator

@shishirb-MSFT shishirb-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jimson-msft jimson-msft merged commit 77de0eb into develop Oct 12, 2021
@jimson-msft jimson-msft deleted the user/jimson/fix_mac_builds branch October 12, 2021 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants