Skip to content

Fix a namespace in logging.cpp#146

Merged
chinmayshah99 merged 1 commit intoOpenMined:devfrom
replomancer:logging_build_fix
May 17, 2020
Merged

Fix a namespace in logging.cpp#146
chinmayshah99 merged 1 commit intoOpenMined:devfrom
replomancer:logging_build_fix

Conversation

@replomancer
Copy link
Copy Markdown
Member

Description

Hey,
This small change fixes #144

I don't understand the whole story here but:

  1. The google library uses std::string not std::__cxx11::string,
  2. This is currently the only place in our codebase where __cxx11 appears,
  3. This part of PyDP is probably broken anyway (tests in test_logging.py have been failing for a while),
  4. Removing __cxx11 from here fixes the building process (issue logging.cpp causing build error #144).

Type of change

Please mark options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Running ./build_PyDP.sh on Ubuntu 20.04 ends with error and this change fixes that. Building the Docker image succeeds regardless of the change (base image is python:3.6-slim-buster).

@chinmayshah99 chinmayshah99 merged commit 5cd4432 into OpenMined:dev May 17, 2020
dvadym pushed a commit to dvadym/PyDP that referenced this pull request Jul 3, 2022
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.

logging.cpp causing build error

2 participants