Nantes Université

Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 5227291b rédigé par Sumit Bhardwaj's avatar Sumit Bhardwaj Validation de GitHub
Parcourir les fichiers

Enable -pedantic on *nix (#82)

Using `-pedantic` threw warnings on `g++`. This commit cleans up those
warnings.
parent c837314c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -63,6 +63,7 @@ else()
-fno-omit-frame-pointer
-fvisibility=hidden # By default, hide symbols on ELF binaries
-g # add debug symbols for build pdb
-pedantic
)
# AppleClang is not accepting -flto as linker option
......
......@@ -21,7 +21,7 @@ PictCreateTask()
{
Task* taskObj = new Task();
return( static_cast<PICT_HANDLE>( taskObj ) );
};
}
//
//
......@@ -229,7 +229,7 @@ PictDeleteTask
{
Task* taskObj = static_cast<Task*>( NO_CONST_HANDLE( task ));
delete( taskObj );
};
}
//
//
......@@ -247,7 +247,7 @@ PictCreateModel
randomSeed );
return( static_cast<PICT_HANDLE>( modelObj ));
};
}
//
//
......@@ -335,7 +335,7 @@ PictAttachChildModel
{
return( PICT_OUT_OF_MEMORY );
}
};
}
//
//
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter