[ https://issues.apache.org/jira/browse/HAWQ-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Guo resolved HAWQ-1423. ---------------------------- Resolution: Fixed Fix Version/s: (was: backlog) 2.3.0.0-incubating > cmock framework does not recognize __MAYBE_UNUSED. > -------------------------------------------------- > > Key: HAWQ-1423 > URL: https://issues.apache.org/jira/browse/HAWQ-1423 > Project: Apache HAWQ > Issue Type: Bug > Components: Build > Reporter: Ming LI > Assignee: Paul Guo > Fix For: 2.3.0.0-incubating > > > This bug only exists on MacOS. > Reproduce Steps: > {code} > 1. ./configure > 2. make -j8 > 3. cd src/backend > 4. make unittest-check > {code} > Build log: > {code} > ../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.c:174:2: > error: void function 'report_commerror' > should not return a value [-Wreturn-type] > return (__MAYBE_UNUSED) mock(); > ^ ~~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > make[4]: *** > [../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.o] Error 1 > make[3]: *** [mockup-phony] Error 2 > make[2]: *** [unittest-check] Error 2 > make[1]: *** [unittest-check] Error 2 > make: *** [unittest-check] Error 2 > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)