Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc150870

Browse files
committed
Disable some tests for Base64 encoding/decoding with libc++ due to Boost bugs.
1 parent43eca38 commitc150870

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎libs/network/experiment/utils_base64_experiment.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
#include<boost/config.hpp>
12
#include<boost/network/utils/base64/encode.hpp>
23
#include<boost/network/utils/base64/encode-io.hpp>
34
#include"utils/base64-standalone.hpp"
5+
// Since we're having issues with libc++ on OS X we're excluding this in the
6+
// meantime if we're using libc++
7+
#ifndef _LIBCPP_VERSION
48
#include"utils/base64-stateless.hpp"
59
#include"utils/base64-stateful_buffer.hpp"
10+
#endif
611
#include"utils/base64-stateful_iterator.hpp"
712
#include"utils/base64-stateful_transform.hpp"
813
#include<iostream>
@@ -58,6 +63,8 @@ using namespace boost::network::utils;
5863
base64::encode_rest(result_encoder, rest)
5964

6065
// testing the code from experimental/base64-stateless.hpp
66+
// NOTE(dberris): Only do this if we're NOT using libc++.
67+
#ifndef _LIBCPP_VERSION
6168
#definebase64 base64_stateless
6269
#include"utils_base64_experiment.ipp"
6370
#undef base64
@@ -70,6 +77,7 @@ using namespace boost::network::utils;
7077
#definebase64 base64_stateful_buffer
7178
#include"utils_base64_experiment.ipp"
7279
#undef base64
80+
#endif// _LIBCPP_VERSION
7381

7482
// testing the code from experimental/base64-stateful_transform.hpp
7583
#definebase64 base64_stateful_transform

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp