Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Problem in types.h
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jp.navarini" data-source="post: 918953" data-attributes="member: 124847"><p>I am trying to compile a C++ code I am doing for my university, using g++. However, I see two problems that I just can`t find out the reason. The first one is "empty character constant", pointing to a line where I define 3 pointers to char.</p><p></p><p>The second and most incredible one is: "/usr/include/sys/types.h:84: error: expected ';' before 'typedef'"...</p><p></p><p>I've never done anything in this types.h file... And I`ve never had problems compiling other codes...</p><p></p><p>Does anyone has any idea of how to fix these mistakes????</p></blockquote><p></p>
[QUOTE="jp.navarini, post: 918953, member: 124847"] I am trying to compile a C++ code I am doing for my university, using g++. However, I see two problems that I just can`t find out the reason. The first one is "empty character constant", pointing to a line where I define 3 pointers to char. The second and most incredible one is: "/usr/include/sys/types.h:84: error: expected ';' before 'typedef'"... I've never done anything in this types.h file... And I`ve never had problems compiling other codes... Does anyone has any idea of how to fix these mistakes???? [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Problem in types.h
Top