Snippets for opencascade-occt 7.9.3 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/zgxlai3g0pjaynjrqa5lfqk9ncj2cvxa-opencascade-occt-7.9.3.drv.
-
/nix/var/nix/builds/nix-59891-1084346683/source/src/Plugin/Plugin.cxx:103:50: warning: cast from 'OSD_Function' (aka 'int (*)(...)') to 'Standard_Transient *(*)(const Standard_GUID &)' converts to incompatible function type [-Wcast-function-type-mismatch] 103 | fp = (Standard_Transient * (*)(const Standard_GUID&)) f; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/AIS/AIS_ColorScale.cxx:161:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 161 | sprintf(aBuf, myFormat.ToCString(), aVal); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/NCollection/NCollection_UBTreeFiller.hxx:198:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 198 | sprintf(buf, "Checking UBTree:%8d leaves, balance =%7.2f", aNumber, aLen1 / aLen0); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/PrsDim/PrsDim_Dimension.cxx:253:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 253 | sprintf(aFmtBuffer, aFormatStr.ToCString(), ValueToDisplayUnits()); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/Draw/Draw.cxx:750:35: warning: cast from 'OSD_Function' (aka 'int (*)(...)') to 'void (*)(Draw_Interpretor &)' converts to incompatible function type [-Wcast-function-type-mismatch] 750 | fp = (void (*)(Draw_Interpretor&))aFunc; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/TPrsStd/TPrsStd_ConstraintTools.cxx:185:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 185 | sprintf(res, "%g", outvalue); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/OpenGl/OpenGl_AspectsSprite.cxx:375:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 375 | sprintf(aBytes, "%02X%02X%02X", aColor[0], aColor[1], aColor[2]); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/OpenGl/OpenGl_GraduatedTrihedron.cxx:535:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 535 | sprintf(aTextValue, "%g", theGridAxes.Ticks[theIndex].GetData()[theIndex] + anIt * aStep); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/QABugs/QABugs_19.cxx:4100:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 4100 | sprintf(buf, "isos %s 0", theArgVec[1]); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/QABugs/QABugs_19.cxx:4103:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 4103 | sprintf(buf, "triangles %s", theArgVec[1]); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/QABugs/QABugs_19.cxx:4159:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 4159 | sprintf(buf, "fail_%d", i + 1); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/QABugs/QABugs_19.cxx:4505:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 4505 | sprintf(buf, " Number of intersection points found: %d", aNbPoints); | ^ -
/nix/var/nix/builds/nix-59891-1084346683/source/src/QABugs/QABugs_19.cxx:4512:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 4512 | sprintf(buf, "point %s_%d %lg %lg %lg ", a[1], i, aP.X(), aP.Y(), aP.Z()); | ^