title: lvalue required as unary '&' operand
body: <p>Problem while making a call to function as follows:</p>
  
  <p>Function call:</p>
  
  <pre><code>Sbac_DecodeBin(pstSlice-&gt;pstBAC,&amp;(UINT8)ui32Abs_Mvd_G_0[0],
  pstSlice-&gt;pstCtxModel-&gt;aucABS_MVD_GREATER_0_1_FLAG,0,
  pstSlice-&gt;pstValMps-&gt;aucABS_MVD_GREATER_0_1_FLAG,BSHandle);
  </code></pre>
  
  <p>Function declaration:</p>
  
  <pre><code>VOID Sbac_DecodeBin(Init_BAC *pstBAC,UINT8* piBinValue,UINT8* pucSateIdx,
  UINT8 CtxInc,UINT8* pucValMPS,HEVCD_BS_HANDLE BSHandle)
  </code></pre>
  
  <p>The above code doesnt give any compilcation error in Visual c++ 2008 But in linux while creating object file using  makefile via <code>gcc -c</code> i get the error: </p>
  
  <pre><code>lvalue required as unary '&amp;' operand 
  </code></pre>
  
  <p>Can anyone tell me what is the problem?</p>