• annoing error - ai blames c (and probably is right)

    From fir@profesor.fir@gmail.com to comp.lang.c on Mon Nov 2 20:20:39 2026
    From Newsgroup: comp.lang.c

    i got terribbly annoying error

    i got a function

    inline void FillDepthTriangle3D_Camera_blend(float3 a,float3 b,float3 c,unsigned color, float blend) {}


    and i just call it

    FillDepthTriangle3D_Camera_blend(a,b,c,color, 0.5f);


    and in the function value of blend is 0

    now thats crazy shit



    more worse it cost me one hour debig session until i reversed back to it becouse i woul never imagined this can happen

    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From fir@profesor.fir@gmail.com to comp.lang.c on Mon Nov 2 20:34:36 2026
    From Newsgroup: comp.lang.c

    fir pisze:
    i got terribbly annoying error

    i got a function

    inline void FillDepthTriangle3D_Camera_blend(float3 a,float3 b,float3 c,unsigned color, float blend) {}


    and i just call it

    FillDepthTriangle3D_Camera_blend(a,b,c,color, 0.5f);


    and in the function value of blend is 0

    now thats crazy shit



    more worse it cost me one hour debig session until i reversed back to it becouse i woul never imagined this can happen


    note for most years in my life i used c in c++ mode..i used pure c on
    teh begining of my way liak ein early 2000th and then c in c++ mode
    recently i get back to pure c via gcc and generally it was ok but such
    things are hard to stand
    --- Synchronet 3.22a-Linux NewsLink 1.2