良くタイトルみたいなメッセージのエラーを見る. :(
[When we use gcc-4.x.x,
it'll has a lot of the things like the title.:(]
12/20 02:47:04 nixnut適当な方のstaticを消すとか,
mmm, how does one fix this?
-> http://pastebin.com/470413
(apart from stopping being an fool and trying gcc-4.0.2)
12/20 03:16:13 hiyuh
nixnut: did you use >=gcc-4?
12/20 03:17:06 hiyuh
if so, i have seen like this, too.
12/20 03:17:14 nixnut
hiyuh: yup
12/20 03:28:10 nixnut
it's just a stupid little header problem,
but I can't make heads or tails of it :|
12/20 03:31:31 hiyuh
hum, /usr/include/asm/bitops.h has little description
of this ffs definition.
12/20 03:33:09 nixnut
yeah, same description is in /usr/include/linux/bitopts.h.
Doesn't tell me anything
12/20 03:35:19 nixnut
static inline int generic_ffs(int x)
<-> static __inline__ int ffs(int x) ?
12/20 03:35:54 hiyuh
i donno, but this ffs looks like small function,
so can't you try manually inline expansion?
強引にinline展開するとか,
後方互換オプションに頼るとか,
回避策は色々あるケド,解決策じゃ無かったりする.:(
[To work around ways are many case,
to remove one of static declarations,
to expand inline functions by manually,
to use the option for to enable backward compat...
But, these are JUST to work around ways, are NOT to solved. :(]
12/20 03:36:27 nixnutひたすらコーディングですよ!
hehe, nfc what that means :)
12/20 03:36:47 nixnut
I don't code, I just break the stuff :p
12/20 03:39:42 hiyuh
hehe, but gcc-4 + static declaration has many errors
like that, afaik.
12/20 03:40:36 nixnut
yeah, I found lots. A change in gcc,
so it doesn't warn any more but dies with an error
if I understand it correctly
12/20 03:44:23 hiyuh
umm, gcc-4 is so far...
12/20 03:45:11 hiyuh
it looks like good for optimize features though
12/20 03:47:20 nixnut
mmm perhaps -Wtraditional might help
12/20 03:47:32 nixnut
fixing the headers would be better though
12/20 03:51:47 hiyuh
nixnut: ya, DO code. :P
12/20 03:52:12 nixnut
hehe
12/20 03:53:19 hiyuh
or try to put -traditional into CFLAGS or so for work around.
って,サボっている自分が一番やらなきゃならない事だったりして. :P
[Yay, DO code! SO code!
Mm'kay, like that said, I know I would/should DO it. :P]
0 件のコメント:
コメントを投稿