Search the Community
Showing results for tags 'spidermonkey'.
-
While discussing a quirk of the common AI API on IRC Stan suggested to take a code coverage measurement on the existent simulation components, since I had the toolchain already set up for AI development. I took the challenge and now present first results. However, I decided to not attach this to the already running jasmine-thread since I consider it an independent topic. To reproduce the measurements: Attached to this posting is a zip archive. Unzip it to binaries/data/mods/public/simulation. A new directory CoverageMeasurement will show up. Inside that directory, the subdirectory instrumented already contains the results of an instrumented run. Load the jscoverage.html file into a fully-scripting-enabled browser to see the results. They will look somewhat like this: To rerun the analysis, launch the runcomponenttests.sh shell script from the CoverageMeasurement directory. That script requires that the zip archive has been unpacked at the particular destination and 0AD fully compiled (SpiderMonkey shell is compiled via the update-workspaces.sh script). Observations during analysis: The test scripts are normally run from the pyrogenesis test script file test_scripts.h via the cxxtest subsystem. This means the scripts can enjoy the full Pyrogenesis environment, which is not available when runcomponenttests.sh runs the test scripts via SpiderMonkeyShell. For example, I had to manually define all interface identifiers IID_XXX in the jscover-driver.js file which contains the actual 0AD-specific analysis logic. Since I just faked the missing Engine functions, the logic of some test cases might not work, giving improper coverage results. Still, I found some component methods which seem to be not tested. My homebrew driver script runs all test scripts in the same JS environment without resetting the global scope. This caused SpiderMonkey errors when const values were redefined. To overcome this, the shell script wraps the content of each test script into a "(function () { test script })()"; encapsulation using an sed script. Some test scripts still caused errors and I resorted to skipping them for the first draft. Error analysis seemed too cumbersome when it is unclear whether this approach is feasible at all. The skipped test cases are marked in the CoverageMeasurement/jscover-driver.js file. Code coverage measurements are taken via the JSCover tool (not the most recent version). This tool is originally intended for web development and so relies on running a JSCover server in the background, while browsing the reports. I hacked the JSCover main script to allow browsing the results without the server running, as this was needed to integrate the JSCover results into a JSDoc documentation site. The hacked jscoverage.js script is found in the CoverageMeasurement/JSCover directory. Any comments or questions welcome. CoverageMeasurement.zip
-
- 3
-
- code coverage
- javascript
-
(and 2 more)
Tagged with:
-
i try to complie 0AD XV Osiris "SVN 14579" and i get svn up Updating '.': ^Csvn: E200015: Unable to connect to a repository at URL 'http://svn.wildfiregames.com/public/ps/trunk/build' svn: E200015: Se atrapó una señal [alvin@localhost workspaces]$ cd .. [alvin@localhost build]$ cd .. [alvin@localhost 0ad]$ svn up Updating '.': En la revisión 14579. [alvin@localhost 0ad]$ cd build/workspaces [alvin@localhost workspaces]$ ./clean-workspaces.sh Cleaning bundled third-party dependencies... Cleaning Premake4 Cleaning Premake4 Cleaning Premake4 Cleaning build output... Done. Try running update-workspaces.sh again now. [alvin@localhost workspaces]$ ./update-workspaces.sh Updating bundled third-party dependencies... FCollada/FCollada.cpp FCollada/FColladaPlugin.cpp FCollada/FCDocument/FCDAnimated.cpp FCollada/FCDocument/FCDAnimationChannel.cpp FCollada/FCDocument/FCDAnimationClip.cpp FCollada/FCDocument/FCDAnimationClipTools.cpp FCollada/FCDocument/FCDAnimation.cpp FCollada/FCDocument/FCDAnimationCurve.cpp FCollada/FCDocument/FCDAnimationCurveTools.cpp FCollada/FCDocument/FCDAnimationKey.cpp FCollada/FCDocument/FCDAnimationMultiCurve.cpp FCollada/FCDocument/FCDAsset.cpp FCollada/FCDocument/FCDController.cpp FCollada/FCDocument/FCDCamera.cpp FCollada/FCDocument/FCDControllerInstance.cpp FCollada/FCDocument/FCDControllerTools.cpp FCollada/FCDocument/FCDEffectCode.cpp FCollada/FCDocument/FCDEffect.cpp FCollada/FCDocument/FCDEffectParameter.cpp FCollada/FCDocument/FCDEffectParameterFactory.cpp FCollada/FCDocument/FCDEffectParameterSampler.cpp FCollada/FCDocument/FCDEffectParameterSurface.cpp FCollada/FCDocument/FCDEffectPass.cpp FCollada/FCDocument/FCDEffectPassShader.cpp FCollada/FCDocument/FCDEffectPassState.cpp FCollada/FCDocument/FCDEffectProfile.cpp FCollada/FCDocument/FCDEffectProfileFX.cpp FCollada/FCDocument/FCDEffectStandard.cpp FCollada/FCDocument/FCDEffectTechnique.cpp FCollada/FCDocument/FCDEffectTools.cpp FCollada/FCDocument/FCDEmitter.cpp FCollada/FCDocument/FCDEmitterInstance.cpp FCollada/FCDocument/FCDEmitterObject.cpp FCollada/FCDocument/FCDEmitterParticle.cpp FCollada/FCDocument/FCDEntity.cpp FCollada/FCDocument/FCDEntityInstance.cpp FCollada/FCDocument/FCDEntityReference.cpp FCollada/FCDocument/FCDExternalReferenceManager.cpp FCollada/FCDocument/FCDExtra.cpp FCollada/FCDocument/FCDForceDeflector.cpp FCollada/FCDocument/FCDForceDrag.cpp FCollada/FCDocument/FCDForceField.cpp FCollada/FCDocument/FCDForceGravity.cpp FCollada/FCDocument/FCDForcePBomb.cpp FCollada/FCDocument/FCDForceWind.cpp FCollada/FCDocument/FCDGeometry.cpp FCollada/FCDocument/FCDGeometryInstance.cpp FCollada/FCDocument/FCDGeometryMesh.cpp FCollada/FCDocument/FCDGeometryPolygons.cpp FCollada/FCDocument/FCDGeometryNURBSSurface.cpp FCollada/FCDocument/FCDGeometryPolygonsInput.cpp FCollada/FCDocument/FCDGeometryPolygonsTools.cpp FCollada/FCDocument/FCDGeometrySource.cpp FCollada/FCDocument/FCDGeometrySpline.cpp FCollada/FCDocument/FCDImage.cpp FCollada/FCDocument/FCDLibrary.cpp FCollada/FCDocument/FCDLight.cpp FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDAnimation]’: FCollada/FCDocument/FCDLibrary.cpp:149:30: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] const T* cptr = ((const FCDLibrary<T>*)l1)->GetEntity(0); ^ FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDAnimationClip]’: FCollada/FCDocument/FCDLibrary.cpp:150:34: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDCamera]’: FCollada/FCDocument/FCDLibrary.cpp:151:27: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDController]’: FCollada/FCDocument/FCDLibrary.cpp:152:31: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDEffect]’: FCollada/FCDocument/FCDLibrary.cpp:153:27: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDEmitter]’: FCollada/FCDocument/FCDLibrary.cpp:154:28: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDForceField]’: FCollada/FCDocument/FCDLibrary.cpp:155:31: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDGeometry]’: FCollada/FCDocument/FCDLibrary.cpp:156:29: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDImage]’: FCollada/FCDocument/FCDLibrary.cpp:157:26: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDLight]’: FCollada/FCDocument/FCDLibrary.cpp:158:26: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDMaterial]’: FCollada/FCDocument/FCDLibrary.cpp:159:29: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDSceneNode]’: FCollada/FCDocument/FCDLibrary.cpp:160:30: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDPhysicsModel]’: FCollada/FCDocument/FCDLibrary.cpp:161:33: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDPhysicsMaterial]’: FCollada/FCDocument/FCDLibrary.cpp:162:36: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [with T = FCDPhysicsScene]’: FCollada/FCDocument/FCDLibrary.cpp:163:33: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLightTools.cpp FCollada/FCDocument/FCDMaterial.cpp FCollada/FCDocument/FCDMaterialInstance.cpp FCollada/FCDocument/FCDMorphController.cpp FCollada/FCDocument/FCDObject.cpp FCollada/FCDocument/FCDObjectWithId.cpp FCollada/FCDocument/FCDocument.cpp FCollada/FCDocument/FCDocumentTools.cpp FCollada/FCDocument/FCDParameterAnimatable.cpp FCollada/FCDocument/FCDParticleModifier.cpp FCollada/FCDocument/FCDPhysicsAnalyticalGeometry.cpp FCollada/FCDocument/FCDPhysicsForceFieldInstance.cpp FCollada/FCDocument/FCDPhysicsMaterial.cpp FCollada/FCDocument/FCDPhysicsModel.cpp FCollada/FCDocument/FCDPhysicsModelInstance.cpp FCollada/FCDocument/FCDPhysicsRigidBody.cpp FCollada/FCDocument/FCDPhysicsRigidBodyInstance.cpp FCollada/FCDocument/FCDPhysicsRigidBodyParameters.cpp FCollada/FCDocument/FCDPhysicsRigidConstraint.cpp FCollada/FCDocument/FCDPhysicsRigidConstraintInstance.cpp FCollada/FCDocument/FCDPhysicsScene.cpp FCollada/FCDocument/FCDPhysicsShape.cpp FCollada/FCDocument/FCDPlaceHolder.cpp FCollada/FCDocument/FCDSceneNode.cpp FCollada/FCDocument/FCDSceneNodeIterator.cpp FCollada/FCDocument/FCDSceneNodeTools.cpp FCollada/FCDocument/FCDSkinController.cpp FCollada/FCDocument/FCDTargetedEntity.cpp FCollada/FCDocument/FCDTexture.cpp FCollada/FCDocument/FCDTransform.cpp FCollada/FCDocument/FCDVersion.cpp FCollada/FMath/FMAllocator.cpp FCollada/FMath/FMAngleAxis.cpp FCollada/FMath/FMColor.cpp FCollada/FMath/FMInterpolation.cpp FCollada/FMath/FMLookAt.cpp FCollada/FMath/FMMatrix33.cpp FCollada/FMath/FMMatrix44.cpp FCollada/FMath/FMQuaternion.cpp FCollada/FMath/FMRandom.cpp FCollada/FMath/FMSkew.cpp FCollada/FMath/FMVector3.cpp FCollada/FUtils/FUAssert.cpp FCollada/FMath/FMVolume.cpp FCollada/FUtils/FUBase64.cpp FCollada/FUtils/FUBoundingBox.cpp FCollada/FUtils/FUBoundingSphere.cpp FCollada/FUtils/FUCrc32.cpp FCollada/FUtils/FUCriticalSection.cpp FCollada/FUtils/FUDaeEnum.cpp FCollada/FUtils/FUDateTime.cpp FCollada/FUtils/FUDebug.cpp FCollada/FUtils/FUError.cpp FCollada/FUtils/FUErrorLog.cpp FCollada/FUtils/FUFile.cpp FCollada/FUtils/FUFileManager.cpp FCollada/FUtils/FULogFile.cpp FCollada/FUtils/FUObject.cpp FCollada/FUtils/FUObjectType.cpp FCollada/FUtils/FUParameter.cpp FCollada/FUtils/FUParameterizable.cpp FCollada/FUtils/FUPluginManager.cpp FCollada/FUtils/FUSemaphore.cpp FCollada/FUtils/FUStringBuilder.cpp In file included from FCollada/FUtils/FUSemaphore.cpp:10:0: FCollada/FUtils/FUSemaphore.h:36:2: aviso: #warning "FUSemaphore: Semaphore not implemented for non Windows" [-Wcpp] #warning "FUSemaphore: Semaphore not implemented for non Windows" ^ FCollada/FUtils/FUStringConversion.cpp FCollada/FUtils/FUSynchronizableObject.cpp FCollada/FUtils/FUStringConversion.cpp: En la función ‘void TrickLinkerFUStringConversion()’: FCollada/FUtils/FUStringConversion.cpp:278:8: aviso: se define la variable ‘f’ pero no se usa [-Wunused-but-set-variable] float f = FUStringConversion::ToFloat(&c); ^ FCollada/FUtils/FUStringConversion.cpp:280:7: aviso: se define la variable ‘b’ pero no se usa [-Wunused-but-set-variable] bool b = FUStringConversion::ToBoolean©; ^ FCollada/FUtils/FUStringConversion.cpp:282:8: aviso: se define la variable ‘i32’ pero no se usa [-Wunused-but-set-variable] int32 i32 = FUStringConversion::ToInt32(&c); ^ FCollada/FUtils/FUStringConversion.cpp:284:9: aviso: se define la variable ‘u32’ pero no se usa [-Wunused-but-set-variable] uint32 u32 = FUStringConversion::ToUInt32(&c); ^ FCollada/FUtils/FUThread.cpp FCollada/FUtils/FUTracker.cpp In file included from FCollada/FUtils/FUThread.cpp:10:0: FCollada/FUtils/FUThread.h:30:2: aviso: #warning "Threads not yet implemented for non Windows." [-Wcpp] #warning "Threads not yet implemented for non Windows." ^ FCollada/FUtils/FUUniqueStringMap.cpp FCollada/FUtils/FUUri.cpp FCollada/FUtils/FUXmlDocument.cpp FCollada/FUtils/FUXmlParser.cpp FCollada/FUtils/FUXmlWriter.cpp FColladaPlugins/FArchiveXML/FArchiveXML.cpp FColladaPlugins/FArchiveXML/FAXAnimationExport.cpp FColladaPlugins/FArchiveXML/FAXAnimationImport.cpp FColladaPlugins/FArchiveXML/FAXCameraExport.cpp FColladaPlugins/FArchiveXML/FAXCameraImport.cpp FColladaPlugins/FArchiveXML/FAXColladaParser.cpp FColladaPlugins/FArchiveXML/FAXColladaWriter.cpp FColladaPlugins/FArchiveXML/FAXControllerExport.cpp FColladaPlugins/FArchiveXML/FAXControllerImport.cpp FColladaPlugins/FArchiveXML/FAXEmitterExport.cpp FColladaPlugins/FArchiveXML/FAXEmitterImport.cpp FColladaPlugins/FArchiveXML/FAXEntityExport.cpp FColladaPlugins/FArchiveXML/FAXEntityImport.cpp FColladaPlugins/FArchiveXML/FAXForceFieldExport.cpp FColladaPlugins/FArchiveXML/FAXForceFieldImport.cpp FColladaPlugins/FArchiveXML/FAXGeometryExport.cpp FColladaPlugins/FArchiveXML/FAXGeometryImport.cpp FColladaPlugins/FArchiveXML/FAXImportLinking.cpp FColladaPlugins/FArchiveXML/FAXInstanceExport.cpp FColladaPlugins/FArchiveXML/FAXInstanceImport.cpp FColladaPlugins/FArchiveXML/FAXLightExport.cpp FColladaPlugins/FArchiveXML/FAXLightImport.cpp FColladaPlugins/FArchiveXML/FAXMaterialExport.cpp FColladaPlugins/FArchiveXML/FAXMaterialImport.cpp FColladaPlugins/FArchiveXML/FAXPhysicsExport.cpp FColladaPlugins/FArchiveXML/FAXPhysicsImport.cpp FColladaPlugins/FArchiveXML/FAXSceneExport.cpp FColladaPlugins/FArchiveXML/FAXSceneImport.cpp FCollada/FCollada.cpp FCollada/FColladaPlugin.cpp FCollada/FCDocument/FCDAnimated.cpp FCollada/FCDocument/FCDAnimationChannel.cpp FCollada/FCDocument/FCDAnimationClip.cpp FCollada/FCDocument/FCDAnimationClipTools.cpp FCollada/FCDocument/FCDAnimation.cpp FCollada/FCDocument/FCDAnimationCurve.cpp FCollada/FCDocument/FCDAnimationCurveTools.cpp FCollada/FCDocument/FCDAnimationKey.cpp FCollada/FCDocument/FCDAnimationMultiCurve.cpp FCollada/FCDocument/FCDAsset.cpp FCollada/FCDocument/FCDCamera.cpp FCollada/FCDocument/FCDControllerInstance.cpp FCollada/FCDocument/FCDController.cpp FCollada/FCDocument/FCDControllerTools.cpp FCollada/FCDocument/FCDEffectCode.cpp FCollada/FCDocument/FCDEffect.cpp FCollada/FCDocument/FCDEffectParameter.cpp FCollada/FCDocument/FCDEffectParameterFactory.cpp FCollada/FCDocument/FCDEffectParameterSampler.cpp FCollada/FCDocument/FCDEffectParameterSurface.cpp FCollada/FCDocument/FCDEffectPass.cpp FCollada/FCDocument/FCDEffectPassShader.cpp FCollada/FCDocument/FCDEffectPassState.cpp FCollada/FCDocument/FCDEffectProfile.cpp FCollada/FCDocument/FCDEffectProfileFX.cpp FCollada/FCDocument/FCDEffectStandard.cpp FCollada/FCDocument/FCDEffectTechnique.cpp FCollada/FCDocument/FCDEffectTools.cpp FCollada/FCDocument/FCDEmitter.cpp FCollada/FCDocument/FCDEmitterInstance.cpp FCollada/FCDocument/FCDEmitterObject.cpp FCollada/FCDocument/FCDEmitterParticle.cpp FCollada/FCDocument/FCDEntityInstance.cpp FCollada/FCDocument/FCDEntity.cpp FCollada/FCDocument/FCDEntityReference.cpp FCollada/FCDocument/FCDExternalReferenceManager.cpp FCollada/FCDocument/FCDExtra.cpp FCollada/FCDocument/FCDForceDeflector.cpp FCollada/FCDocument/FCDForceDrag.cpp FCollada/FCDocument/FCDForceField.cpp FCollada/FCDocument/FCDForceGravity.cpp FCollada/FCDocument/FCDForcePBomb.cpp FCollada/FCDocument/FCDForceWind.cpp FCollada/FCDocument/FCDGeometry.cpp FCollada/FCDocument/FCDGeometryInstance.cpp FCollada/FCDocument/FCDGeometryMesh.cpp FCollada/FCDocument/FCDGeometryNURBSSurface.cpp FCollada/FCDocument/FCDGeometryPolygons.cpp FCollada/FCDocument/FCDGeometryPolygonsInput.cpp FCollada/FCDocument/FCDGeometryPolygonsTools.cpp FCollada/FCDocument/FCDGeometrySource.cpp FCollada/FCDocument/FCDGeometrySpline.cpp FCollada/FCDocument/FCDImage.cpp FCollada/FCDocument/FCDLibrary.cpp FCollada/FCDocument/FCDLight.cpp FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDAnimation]’: FCollada/FCDocument/FCDLibrary.cpp:149:30: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] const T* cptr = ((const FCDLibrary<T>*)l1)->GetEntity(0); ^ FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDAnimationClip]’: FCollada/FCDocument/FCDLibrary.cpp:150:34: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDCamera]’: FCollada/FCDocument/FCDLibrary.cpp:151:27: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDController]’: FCollada/FCDocument/FCDLibrary.cpp:152:31: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDEffect]’: FCollada/FCDocument/FCDLibrary.cpp:153:27: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDEmitter]’: FCollada/FCDocument/FCDLibrary.cpp:154:28: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDForceField]’: FCollada/FCDocument/FCDLibrary.cpp:155:31: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDGeometry]’: FCollada/FCDocument/FCDLibrary.cpp:156:29: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDImage]’: FCollada/FCDocument/FCDLibrary.cpp:157:26: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDLight]’: FCollada/FCDocument/FCDLibrary.cpp:158:26: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDMaterial]’: FCollada/FCDocument/FCDLibrary.cpp:159:29: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDSceneNode]’: FCollada/FCDocument/FCDLibrary.cpp:160:30: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDPhysicsModel]’: FCollada/FCDocument/FCDLibrary.cpp:161:33: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDPhysicsMaterial]’: FCollada/FCDocument/FCDLibrary.cpp:162:36: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLibrary.cpp: En la instanciación de ‘void LibraryExport() [con T = FCDPhysicsScene]’: FCollada/FCDocument/FCDLibrary.cpp:163:33: se requiere desde aquí FCollada/FCDocument/FCDLibrary.cpp:141:11: aviso: se define la variable ‘cptr’ pero no se usa [-Wunused-but-set-variable] FCollada/FCDocument/FCDLightTools.cpp FCollada/FCDocument/FCDMaterial.cpp FCollada/FCDocument/FCDMaterialInstance.cpp FCollada/FCDocument/FCDMorphController.cpp FCollada/FCDocument/FCDObject.cpp FCollada/FCDocument/FCDObjectWithId.cpp FCollada/FCDocument/FCDocument.cpp FCollada/FCDocument/FCDocumentTools.cpp FCollada/FCDocument/FCDParameterAnimatable.cpp FCollada/FCDocument/FCDParticleModifier.cpp FCollada/FCDocument/FCDPhysicsAnalyticalGeometry.cpp FCollada/FCDocument/FCDPhysicsForceFieldInstance.cpp FCollada/FCDocument/FCDPhysicsMaterial.cpp FCollada/FCDocument/FCDPhysicsModel.cpp FCollada/FCDocument/FCDPhysicsModelInstance.cpp FCollada/FCDocument/FCDPhysicsRigidBody.cpp FCollada/FCDocument/FCDPhysicsRigidBodyInstance.cpp FCollada/FCDocument/FCDPhysicsRigidBodyParameters.cpp FCollada/FCDocument/FCDPhysicsRigidConstraint.cpp FCollada/FCDocument/FCDPhysicsRigidConstraintInstance.cpp FCollada/FCDocument/FCDPhysicsScene.cpp FCollada/FCDocument/FCDPhysicsShape.cpp FCollada/FCDocument/FCDPlaceHolder.cpp FCollada/FCDocument/FCDSceneNode.cpp FCollada/FCDocument/FCDSceneNodeIterator.cpp FCollada/FCDocument/FCDSceneNodeTools.cpp FCollada/FCDocument/FCDSkinController.cpp FCollada/FCDocument/FCDTexture.cpp FCollada/FCDocument/FCDTargetedEntity.cpp FCollada/FCDocument/FCDTransform.cpp FCollada/FMath/FMAllocator.cpp FCollada/FCDocument/FCDVersion.cpp FCollada/FMath/FMAngleAxis.cpp FCollada/FMath/FMColor.cpp FCollada/FMath/FMInterpolation.cpp FCollada/FMath/FMLookAt.cpp FCollada/FMath/FMMatrix33.cpp FCollada/FMath/FMMatrix44.cpp FCollada/FMath/FMQuaternion.cpp FCollada/FMath/FMRandom.cpp FCollada/FMath/FMSkew.cpp FCollada/FMath/FMVector3.cpp FCollada/FMath/FMVolume.cpp FCollada/FUtils/FUAssert.cpp FCollada/FUtils/FUBase64.cpp FCollada/FUtils/FUBoundingSphere.cpp FCollada/FUtils/FUBoundingBox.cpp FCollada/FUtils/FUCrc32.cpp FCollada/FUtils/FUCriticalSection.cpp FCollada/FUtils/FUDaeEnum.cpp FCollada/FUtils/FUDateTime.cpp FCollada/FUtils/FUDebug.cpp FCollada/FUtils/FUError.cpp FCollada/FUtils/FUErrorLog.cpp FCollada/FUtils/FUFile.cpp FCollada/FUtils/FUFileManager.cpp FCollada/FUtils/FULogFile.cpp FCollada/FUtils/FUObject.cpp FCollada/FUtils/FUObjectType.cpp FCollada/FUtils/FUParameter.cpp FCollada/FUtils/FUParameterizable.cpp FCollada/FUtils/FUPluginManager.cpp FCollada/FUtils/FUSemaphore.cpp FCollada/FUtils/FUStringBuilder.cpp In file included from FCollada/FUtils/FUSemaphore.cpp:10:0: FCollada/FUtils/FUSemaphore.h:36:2: aviso: #warning "FUSemaphore: Semaphore not implemented for non Windows" [-Wcpp] #warning "FUSemaphore: Semaphore not implemented for non Windows" ^ FCollada/FUtils/FUSynchronizableObject.cpp FCollada/FUtils/FUStringConversion.cpp FCollada/FUtils/FUStringConversion.cpp: En la función ‘void TrickLinkerFUStringConversion()’: FCollada/FUtils/FUStringConversion.cpp:278:8: aviso: se define la variable ‘f’ pero no se usa [-Wunused-but-set-variable] float f = FUStringConversion::ToFloat(&c); ^ FCollada/FUtils/FUStringConversion.cpp:280:7: aviso: se define la variable ‘b’ pero no se usa [-Wunused-but-set-variable] bool b = FUStringConversion::ToBoolean©; ^ FCollada/FUtils/FUStringConversion.cpp:282:8: aviso: se define la variable ‘i32’ pero no se usa [-Wunused-but-set-variable] int32 i32 = FUStringConversion::ToInt32(&c); ^ FCollada/FUtils/FUStringConversion.cpp:284:9: aviso: se define la variable ‘u32’ pero no se usa [-Wunused-but-set-variable] uint32 u32 = FUStringConversion::ToUInt32(&c); ^ FCollada/FUtils/FUThread.cpp FCollada/FUtils/FUTracker.cpp In file included from FCollada/FUtils/FUThread.cpp:10:0: FCollada/FUtils/FUThread.h:30:2: aviso: #warning "Threads not yet implemented for non Windows." [-Wcpp] #warning "Threads not yet implemented for non Windows." ^ FCollada/FUtils/FUUniqueStringMap.cpp FCollada/FUtils/FUUri.cpp FCollada/FUtils/FUXmlDocument.cpp FCollada/FUtils/FUXmlParser.cpp FCollada/FUtils/FUXmlWriter.cpp FColladaPlugins/FArchiveXML/FArchiveXML.cpp FColladaPlugins/FArchiveXML/FAXAnimationExport.cpp FColladaPlugins/FArchiveXML/FAXAnimationImport.cpp FColladaPlugins/FArchiveXML/FAXCameraExport.cpp FColladaPlugins/FArchiveXML/FAXCameraImport.cpp FColladaPlugins/FArchiveXML/FAXColladaParser.cpp FColladaPlugins/FArchiveXML/FAXColladaWriter.cpp FColladaPlugins/FArchiveXML/FAXControllerExport.cpp FColladaPlugins/FArchiveXML/FAXControllerImport.cpp FColladaPlugins/FArchiveXML/FAXEmitterExport.cpp FColladaPlugins/FArchiveXML/FAXEmitterImport.cpp FColladaPlugins/FArchiveXML/FAXEntityExport.cpp FColladaPlugins/FArchiveXML/FAXEntityImport.cpp FColladaPlugins/FArchiveXML/FAXForceFieldExport.cpp FColladaPlugins/FArchiveXML/FAXForceFieldImport.cpp FColladaPlugins/FArchiveXML/FAXGeometryExport.cpp FColladaPlugins/FArchiveXML/FAXGeometryImport.cpp FColladaPlugins/FArchiveXML/FAXImportLinking.cpp FColladaPlugins/FArchiveXML/FAXInstanceExport.cpp FColladaPlugins/FArchiveXML/FAXInstanceImport.cpp FColladaPlugins/FArchiveXML/FAXLightExport.cpp FColladaPlugins/FArchiveXML/FAXLightImport.cpp FColladaPlugins/FArchiveXML/FAXMaterialExport.cpp FColladaPlugins/FArchiveXML/FAXMaterialImport.cpp FColladaPlugins/FArchiveXML/FAXPhysicsExport.cpp FColladaPlugins/FArchiveXML/FAXPhysicsImport.cpp FColladaPlugins/FArchiveXML/FAXSceneExport.cpp FColladaPlugins/FArchiveXML/FAXSceneImport.cpp output/libFColladaSD.a output/libFColladaSR.a Building SpiderMonkey... SpiderMonkey build options: --disable-tests ./build.sh: línea 51: patch: no se encontró la orden ERROR: SpiderMonkey build failed [alvin@localhost workspaces]$ cd gcc bash: cd: gcc: No existe el fichero o el directorio [alvin@localhost workspaces]$ make clean make: *** No hay ninguna regla para construir el objetivo `clean'. Alto. [alvin@localhost workspaces]$ make -j3