aws-sdk-cpp exception handling disabled, use -fexceptions to enable

470 views Asked by At

I have problem with integration of aws-sdk-cpp with boost and any exception handling.

As soon I linked in cmakelists aws-cpp-sdk-s3 compiler became very strict: errors per unused param, exception handling disabled. I have no idea how I can configure it. Can't find anything in documentation.

1

There are 1 answers

0
Harris Lummis On BEST ANSWER

I had the same problem. When i changed the line

find_package(aws-sdk-cpp)

to

find_package(AWSSDK REQUIRED)

everything worked fine. Not sure why this works, but it seems to work!