iCAx开思工具箱

标题: 碰到 missing ';' before 'type'如何解决? [打印本页]

作者: bennycheung23    时间: 2005-10-19 15:33
标题: 碰到 missing ';' before 'type'如何解决?
本人在compile从UG生成的DLG的.c文件时,遇到 missing ';' before 'type',但我没有改动过任何,为何编译有错? .h文件没有动过。
int SHRINK_back_cb ( int dialog_id,miss';'before 'type'在int 前
             void * client_data,
             UF_STYLER_item_value_type_p_t callback_data)
{
     /* Make sure User Function is available. */  
       

     if ( UF_initialize() != 0)
          return ( UF_UI_CB_CONTINUE_DIALOG );

     /* ---- Enter your callback code here ----- */

         

     UF_terminate ();

    /* Callback acknowledged, terminate dialog.            */
    /* It is STRONGLY recommended that you exit your       */
    /* callback with UF_UI_CB_EXIT_DIALOG in a back call   */
    /* back rather than UF_UI_CB_CONTINUE_DIALOG.          */
    return (UF_UI_CB_EXIT_DIALOG);


}
作者: pzytony    时间: 2005-10-19 16:47
检查一下,基本的C语言问题,看看函数SHRINK_back_cb 前面有没有错位什么的
作者: gzzhc    时间: 2005-10-19 17:06
弱弱问一声:什么是错位?
作者: along533    时间: 2005-10-20 09:25
按照我的理解,是在type前漏了一个;




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3