Update to the 2019 wpilib
Lots of gratuitious incompatibilities to deal with. Started sanifying a
few classes rather than figuring out how to update them too. Has not yet
been tested on a robot, but everything still builds so it should be
fine.
Also ported over our FPGA timestamp fixes, which were previously only in
allwpilib_2018.
Also upgraded to the new roborio compiler, which has to happen at the
same time due to incompatible pre-compiled libraries.
Change-Id: Ib9b6ad8fc0112d90a9855afe1b706588ef4ebde9
diff --git a/third_party/libjpeg/BUILD b/third_party/libjpeg/BUILD
index 3fb36ec..2f3a812 100644
--- a/third_party/libjpeg/BUILD
+++ b/third_party/libjpeg/BUILD
@@ -65,7 +65,16 @@
"-Wno-switch-enum",
"-Wno-format-nonliteral",
"-Wno-unused-parameter",
- ],
+ ] + select({
+ "//tools:cpu_roborio": [
+ # This is sketchy under the standard, but it's a known issue with
+ # libjpeg which isn't particularly well defined by the JPEG standard
+ # either. We should be fine because all our platforms are two's
+ # complement.
+ "-Wno-shift-negative-value",
+ ],
+ "//conditions:default": [],
+ }),
includes = ["src/main/c"],
visibility = ["//visibility:public"],
)