Trex issues warnings for Q2 results