gcc error messages: in expansion of macro

Solution Verified - Updated -

Issue

  • gcc shows error messages : in expansion of macro

For example:

maaa_check_isu_proc.c:1850:16: note: in expansion of macro 'STRNCMP'
            if (STRNCMP(context->outCtxaaa002m00_vs0047.card_isu_tp_code, VAL_CARD_ISU_TP_CODE_3)) {

maaa_stk_scr_chit.c:560:3: note: in expansion of macro 'STRNCPY'
   STRNCPY( context->inCtxaea105t00_vs3102.realnm_cnfm_no, context->input->acct_no );

Environment

  • gcc compiler
  • Red Hat Enterprise Linux(all release)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content