Skip to content

Commit 60ef388

Browse files
committed
merge with latest linux changes
2 parents cf13a46 + cc3fac5 commit 60ef388

27 files changed

+214
-1209
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#Visual Studio files
2+
*.o
3+
*.d
4+
*.so
25
*.[Oo]bj
36
*.user
47
*.aps
@@ -38,3 +41,4 @@ obj/
3841
*.resfiles
3942
[Bb]in
4043
Binaries/
44+
Intermediate/

Build/Common.Build.settings

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
<!-- paths can be overridden by configuration -->
3636
<PropertyGroup>
3737
<OutputPath>$(BuildRoot)\Binaries\$(Platform)\$(Configuration)\</OutputPath>
38-
<!-- $(Configuration) below is added to place Debug/Release Casablanca bits into different folders when compiled in razzle.
39-
It does not affect NativeCloud build, because environment.casablanca.settings overrides OutDir unconditionally -->
40-
<OutDir>$(OutputPath)$(Configuration)</OutDir>
38+
<OutDir>$(OutputPath)</OutDir>
4139
<MSBuildCommunityTasksPath Condition="'$(MSBuildCommunityTasksPath)'==''">$(BuildRoot)\Build\MSBuild.Community.Tasks</MSBuildCommunityTasksPath>
4240
<WixToolPath Condition="'$(WixToolPath)'==''">$(BuildRoot)\Build\Wix\3.6\</WixToolPath>
4341
<WixExtDir Condition="'$(WixExtDir)'==''">$(WixToolPath)</WixExtDir>

Release/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ bad:
55

66
#CXX=clang
77
#CXX=/usr/lib/gcc-snapshot/bin/g++
8-
CXX=g++-4.7
8+
CXX=g++-4.8
99
export CXX
1010

1111
mk_out_dir:
@@ -16,7 +16,7 @@ release: MODE = Release$(shell getconf LONG_BIT)
1616
release: OUTPUT_DIR = $(PWD)/../Binaries/$(MODE)
1717
release: mk_out_dir tests samples
1818

19-
debug: OPTIMIZATION_LEVEL = -O0 -ggdb
19+
debug: OPTIMIZATION_LEVEL = -O0 -g -gdwarf-2
2020
debug: MODE = Debug$(shell getconf LONG_BIT)
2121
debug: OUTPUT_DIR = $(PWD)/../Binaries/$(MODE)
2222
debug: mk_out_dir tests samples
@@ -29,7 +29,7 @@ clean: DOUTPUT_DIR = $(PWD)/../Binaries/$(DMODE)
2929
export MODE
3030

3131
WARNINGS=-Wall -Wextra -Wunused-parameter -Wcast-align -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wunreachable-code
32-
SUPPRESSIONS=-Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-unused-function -Wno-char-subscripts -Wno-switch -Wno-unused-but-set-parameter -Wno-deprecated -Wno-unused-value
32+
SUPPRESSIONS=-Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-unused-function -Wno-char-subscripts -Wno-switch -Wno-unused-but-set-parameter -Wno-deprecated -Wno-unused-value -Wno-unused-local-typedefs
3333

3434
# C++11 excludes GCC < 4.7, which is desired anyway
3535
OTHER_OPTIONS=-std=c++11 -fno-strict-aliasing
@@ -77,7 +77,7 @@ clean:
7777
@find . -iname *.o -exec rm '{}' \;
7878
@find ../Binaries -iname *.so -exec rm '{}' \;
7979
@find ../Binaries -iname *.txt -exec rm '{}' \;
80-
@find ../Binaries -iname blackjackclient -exec rm '{}' \;
81-
@find ../Binaries -iname blackjackserver -exec rm '{}' \;
80+
@find ../Binaries -iname SearchFile -exec rm '{}' \;
81+
@find ../Binaries -iname BingRequest -exec rm '{}' \;
8282
@find ../Binaries -iname syncdir -exec rm '{}' \;
8383
@find ../Binaries -iname test_runner -exec rm '{}' \;

Release/casablanca110.sln

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "streams110_test", "tests\Fu
2525
EndProject
2626
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Uri110_test", "tests\Functional\uri\VS11\Uri110_test.vcxproj", "{3D9C3F25-1736-4D39-A31F-6B2DE34E20CF}"
2727
EndProject
28-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testlistener110", "tests\Functional\http\utilities\testlistener\VS11\testlistener110.vcxproj", "{5614BAFA-7605-41D3-945F-7EEB8116398F}"
29-
EndProject
3028
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "casablanca110.winrt", "src\build\casablanca110.winrt.vcxproj", "{198ED804-2655-4D92-8104-C220E3EA9452}"
3129
EndProject
3230
Global
@@ -256,18 +254,6 @@ Global
256254
{3D9C3F25-1736-4D39-A31F-6B2DE34E20CF}.Release|Win32.Build.0 = Release|Win32
257255
{3D9C3F25-1736-4D39-A31F-6B2DE34E20CF}.Release|x64.ActiveCfg = Release|x64
258256
{3D9C3F25-1736-4D39-A31F-6B2DE34E20CF}.Release|x64.Build.0 = Release|x64
259-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Debug|ARM.ActiveCfg = Debug|ARM
260-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Debug|ARM.Build.0 = Debug|ARM
261-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Debug|Win32.ActiveCfg = Debug|Win32
262-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Debug|Win32.Build.0 = Debug|Win32
263-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Debug|x64.ActiveCfg = Debug|x64
264-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Debug|x64.Build.0 = Debug|x64
265-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Release|ARM.ActiveCfg = Release|ARM
266-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Release|ARM.Build.0 = Release|ARM
267-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Release|Win32.ActiveCfg = Release|Win32
268-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Release|Win32.Build.0 = Release|Win32
269-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Release|x64.ActiveCfg = Release|x64
270-
{5614BAFA-7605-41D3-945F-7EEB8116398F}.Release|x64.Build.0 = Release|x64
271257
{198ED804-2655-4D92-8104-C220E3EA9452}.Debug|ARM.ActiveCfg = Debug|ARM
272258
{198ED804-2655-4D92-8104-C220E3EA9452}.Debug|ARM.Build.0 = Debug|ARM
273259
{198ED804-2655-4D92-8104-C220E3EA9452}.Debug|Win32.ActiveCfg = Debug|Win32

Release/include/compat/SafeInt3.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ Version 3.0
8181
// Various things needed for GCC
8282
#if defined __GNUC__
8383

84+
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
85+
8486
#define NEEDS_INT_DEFINED
8587

8688
#if !defined NULL

Release/include/cpprest/http_client_impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ using namespace concurrency;
4444
#else
4545
#include <boost/asio.hpp>
4646
#include <boost/bind.hpp>
47+
#include <boost/asio/ssl.hpp>
4748
#include <boost/algorithm/string.hpp>
4849
#include <pplx/threadpool.h>
4950
#endif

Release/tests/Functional/http/utilities/testlistener/stdafx.cpp renamed to Release/include/cpprest/version.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/***
32
* ==++==
43
*
@@ -15,9 +14,9 @@
1514
* limitations under the License.
1615
*
1716
* ==--==
18-
* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
19-
**/
20-
// stdafx.cpp :
21-
// Include the standard header and generate the precompiled header.
17+
*/
18+
#define CPPREST_VERSION_REVISION 0
19+
#define CPPREST_VERSION_MINOR 1
20+
#define CPPREST_VERSION_MAJOR 1
2221

23-
#include "stdafx.h"
22+
#define CPPREST_VERSION (CPPREST_VERSION_MAJOR*100000+CPPREST_VERSION_MINOR*100+CPPREST_VERSION_REVISION)

Release/samples/BingRequest/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
$(OUTPUT_DIR)/BingRequest: bingrequest
2-
mv bingrequest $@
3-
4-
bingrequest: ../../collateral/Samples/BingRequest/bingrequest.cpp
1+
$(OUTPUT_DIR)/BingRequest: ../../collateral/Samples/BingRequest/bingrequest.cpp
52
$(CXX) $(BASE_CXXFLAGS) -I$(CASABLANCA_INCLUDE_DIR) $^ -o $@ -L$(OUTPUT_DIR) -lcasablanca -lboost_thread -Wno-sign-compare -Wno-unused-parameter

Release/samples/SearchFile/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
$(OUTPUT_DIR)/SearchFile: searchfile
2-
mv searchfile $@
3-
4-
searchfile: ../../collateral/Samples/SearchFile/searchfile.cpp
1+
$(OUTPUT_DIR)/SearchFile: ../../collateral/Samples/SearchFile/searchfile.cpp
52
$(CXX) $(BASE_CXXFLAGS) -I$(CASABLANCA_INCLUDE_DIR) $^ -o $@ -L$(OUTPUT_DIR) -lcasablanca -lboost_thread -Wno-sign-compare -Wno-unused-parameter

Release/src/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ CXXFLAGS = -fPIC -std=c++11 $(STRICT_BASE_CXXFLAGS) -I../include -I./pch $(WARNI
6363
LIBS = $(PKGCONFIG_LIBS) -lboost_system -lboost_thread -lboost_locale -pthread -lstdc++ -lm # these are explicit for clang
6464
LDFLAGS = $(BASE_LDFLAGS)
6565

66-
CXX ?= g++-4.7
67-
6866
ifeq ($(OUTPUT_DIR),)
6967
LIBRARY_DST=$(MODE)/$(LIBRARY)
7068
else

0 commit comments

Comments
 (0)