conditional compilation for warp version 1 (precise), 2 (trusty) and 3 (latest)
Merge pull request #1285 from spechub/support-warp-3

conditional compilation for warp version 1 (precise), 2 (trusty) and 3