안녕하세요,
소스를 보다보니 제목에 적은 대로#define __const const 처럼 해놓고 그 이후로 __const 를 사용하더군요.
#define __const const
C 초보라서, 이렇게 사용하는 이유는 어떤것인지 궁금해서 질문 올립니다.
혹 const 를 지원하지 않는 컴파일러가 있다면, #define __const 로 모두 없애려고 하는 음모입니다.
---http://coolengineer.com
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
혹 const 를 지원하지
혹 const 를 지원하지 않는 컴파일러가 있다면,
#define __const
로 모두 없애려고 하는 음모입니다.
---
http://coolengineer.com
댓글 달기