# Error when trying to enable exceptions: "exception handling was disabled in PCH file but is currently enabled"

**URL:** <https://forums.unrealengine.com/t/error-when-trying-to-enable-exceptions-exception-handling-was-disabled-in-pch-file-but-is-currently-enabled/425188>\
**Category:** Mobile\
**Tags:** clang, unreal-engine, Android, bug-report, UE4, CPP, question\
**Created:** [May 15, 2018, 8:14pm UTC](https://forums.unrealengine.com/t/error-when-trying-to-enable-exceptions-exception-handling-was-disabled-in-pch-file-but-is-currently-enabled/425188 "2018-05-15T20:14:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_074925b2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_074925b2](https://forums.unrealengine.com/u/anonymous_user_074925b2)\
**Post date:** [May 15, 2018, 8:14pm UTC](https://forums.unrealengine.com/t/error-when-trying-to-enable-exceptions-exception-handling-was-disabled-in-pch-file-but-is-currently-enabled/425188/1 "2018-05-15T20:14:46Z")

</div>

I’m trying to enable exceptions using `bEnableExceptions = true;` in my module’s build.cs file. However, I’m getting the following error:

> EXEC : error : exception handling was  
> disabled in PCH file but is currently  
> enabled

P.S. I’m building for Android.
