I'm sure they could make a soap opera of this chip, but a recent personal observation when attempting to enable hardware UART.
In simulation all is good, but the problem reveals itself at build time. To confirm, I'm working with PIC32MZ2048EFG144, using the latest Flowcode V220.127.116.11 and have applied the patch of 14/10/2016.
Using software UART with the UART Comms component builds fine, but not with hardware UART.
Selecting channel 1 and mapping Tx and Rx from the drop-down (personally confirmed against the datasheet that all options were valid), and regardless of whether flow control is enabled or disabled, results in the following build error...
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_UART.c: In function 'FC_CAL_UART_Init_1':
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_UART.c:250:12: error: '__IEC0bits_t' has no member named 'U1RXIE'
IEC0bits.U1RXIE = 0;
C:\Program Files (x86)\Flowcode 7\CAL\PIC32BIT\PIC32BIT_CAL_UART.c:251:12: error: '__IEC0bits_t' has no member named 'U1TXIE'
IEC0bits.U1TXIE = 0;