Programming/Error Message
'/ZI' and '/Gy-' command-line options are incompatible
푸어맨
2017. 5. 17. 10:24
[에러 메세지]
Error D8016 '/ZI' and '/Gy-' command-line options are incompatible
[에러 원인]
명령줄 error D8016: '/ZI'과(와) '/Gy-' 명령줄 옵션이 호환되지 않습니다.
[해결 방안]
속성 페이지 -> C/C++ -> 코드 생성 -> 함수수준 링크 사용 -> /Gy 사용
Properties -> C/C++ -> Code Generation -> Enable Function-Level Linking -> Yes(/Gy)
[참고]
http://r2cuerdame.blogspot.kr/2016/12/cl-error-d8016-zi-gy.html