The fix for those 2 expressions has been applied in trunk.

-Phil

On Thu, Jan 7, 2010 at 10:00 PM, David Hawes <[email protected]> wrote:
> Thung, Peter C CIV SPAWARSYSCEN-PACIFIC, 56340 wrote:
> ...
>> In any case, after working out a couple of compile issues see info between 
>> ***
>> *********************************************
>> In building new release getting errors as follows:
>> .\src\mod_auth_cas.c(899) : error C2275: 'cas_saml_attr_val' : illegal use 
>> of this type as an expression
>>         c:\temp3\mod_auth_cas_dev_trunk_build_orig\src\mod_auth_cas.h(131) : 
>> see declaration of 'cas_saml_attr_val'
>> turns out a solution is to actually delcare the variable at the top of the 
>> function first without an assignment and then just assign the variable at 
>> line 899 or there about. Basically don't declare and assign at the same time.
>> Similar story to this error:
>> .\src\mod_auth_cas.c(1390) : error C2275: 'cas_saml_attr' : illegal use of 
>> this type as an expression
>>         c:\temp3\mod_auth_cas_dev_trunk_build_orig\src\mod_auth_cas.h(137) : 
>> see declaration of 'cas_saml_attr'
>> declare the Pointer to a Pointer around lin 1277
>> cas_saml_attr **attrtail;
>> and then just do the assignment to the variable around 1391
>> attrtail = attrs;
> ...
>
> For both of these, the declaration can just be swapped with the previous
> line.  The declarations just need to come before anything else in the block.
>
> This was from my SAML patch a while back, sorry for the sloppiness.
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to