Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ypsilon on NetBSD #158

Open
GoogleCodeExporter opened this issue Aug 19, 2015 · 0 comments
Open

ypsilon on NetBSD #158

GoogleCodeExporter opened this issue Aug 19, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

ypsilonをNetBSDに移植しました。少々苦労したのでここに詳細�
��書いておきます。

ypsilonのDragonflyBSD対応を参考にしてコンパイルはできるよう�
��ものの、
拡張ライブラリを使おうとすると、キーワードが未定義と��
�われてエラーになリます。

調べとところ、src/object_heap.cpp内のinit_architecture_feature()で
alignof:int8_tなどをハッシュに登録するところで、キーワード
がなぜか勝手に
変形されて、違ったキーワードで登録されてしまっていま��
�た。
    alignof:int8_t  ->  alignof:__int8_t
    alignof:int16_t ->  alignof:__int16_t   
    alignof:int32_t ->  alignof:__int32_t
    alignof:int64_t ->  alignof:__int64_t

マクロ間でパラメータを渡そうとするとこうなってしまう��
�うなので、
マクロ1つで済ませるように修正して対応しました。

NetBSDに対応したパッチを添付します。
example/以下のサンプルプログラムがNetBSD-6.1.1上で走ります。

よかったら使ってください。(岡田)

Original issue reported on code.google.com by noboru3...@gmail.com on 23 Sep 2013 at 1:35

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant