Back to top

C function prototype is compatible between compiler?

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2404 of /usr/share/drupal7/includes/menu.inc).

C function prototype นี่
ถ้าใช้ compiler ต่างกัน, มันจะไม่ compat กันป่าว?
เช่น compiler แต่ละตัว อาจกำหนดให้ค่าที่ return จาก function เก็บไว้ใน register ต่างกัน.
ทีนี้ caller จะรู้ได้ไงว่า obj ของ function นี้ ถูก compile ด้วย compiler ตัวไหน.

----
อานนท์

Taxonomy upgrade extras: