Skip to content

Commit

Permalink
Add -std=c++11 compilation flag
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyi committed Feb 6, 2025
1 parent cdbde8e commit 5e0798a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ API_JAR=lib/async-profiler.jar
CONVERTER_JAR=lib/converter.jar

CFLAGS=-O3 -fno-exceptions
CXXFLAGS=-O3 -fno-exceptions -fno-omit-frame-pointer -fvisibility=hidden
CXXFLAGS=-std=c++11 -O3 -fno-exceptions -fno-omit-frame-pointer -fvisibility=hidden
INCLUDES=-I$(JAVA_HOME)/include -Isrc/helper
LIBS=-ldl -lpthread -lcurl -lz
MERGE=true
Expand Down
2 changes: 1 addition & 1 deletion src/flightRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ class Recording {
Log::error("failed to gzip compress jfr file");
} else {
for (int i = 0; i < 3; i++) {
curl_easy_reset(curl);
//curl_easy_reset(curl);
curl_mime *multipart = curl_mime_init(curl);
curl_mimepart *part = curl_mime_addpart(multipart);
curl_mime_name(part, "event");
Expand Down

0 comments on commit 5e0798a

Please sign in to comment.