← Back to team overview

dolfin team mailing list archive

[noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 6298: Add pragma to deal with Boost error.]

 

What's this?

--
Anders
--- Begin Message ---
------------------------------------------------------------
revno: 6298
committer: Garth N. Wells <gnw20@xxxxxxxxx>
branch nick: dolfin-all
timestamp: Wed 2011-09-28 23:27:36 +0100
message:
  Add pragma to deal with Boost error.
modified:
  dolfin/io/XMLFile.cpp


--
lp:dolfin
https://code.launchpad.net/~dolfin-core/dolfin/main

Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
=== modified file 'dolfin/io/XMLFile.cpp'
--- dolfin/io/XMLFile.cpp	2011-09-28 20:45:56 +0000
+++ dolfin/io/XMLFile.cpp	2011-09-28 22:27:36 +0000
@@ -332,6 +332,8 @@
     error("XML parsing error.");
 }
 //-----------------------------------------------------------------------------
+// Pragma to avoid Boost.iostreams error with strict compiler flags
+#pragma GCC diagnostic ignored "-Woverflow"
 void XMLFile::save_xml_doc(const pugi::xml_document& xml_doc) const
 {
   if (outstream)


--- End Message ---