告诉编译程序出错并显示PERL_GLOBAL_STRUCT cannot be defined with PERL_OBJECT

解决方案 »

  1.   

    The #error Directive
    Error directives produce compiler-time error messages.Syntax#error token-stringThe error messages include the argument token-string and are subject to macro expansion. These directives are most useful for detecting programmer inconsistencies and violation of constraints during preprocessing. The following example demonstrates error processing during preprocessing:#if !defined(__cplusplus)
    #error C++ compiler required.
    #endifWhen #error directives are encountered, compilation terminates.
    -------------------
    from MSDN