Skip to content

Commit

Permalink
Fix CHPL_DEVELOPER build with gcc 14 (#26500)
Browse files Browse the repository at this point in the history
Fixes a build error with CHPL_DEVELOPER=1 and gcc 14, caused by a
warning from gcc. Removing the offending code does not seem to affect
correctness

resolves #26488

[Reviewed by @DanilaFe]
  • Loading branch information
jabraham17 authored Jan 9, 2025
2 parents da9f119 + f838fb6 commit 902b00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/include/vec.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class Vec {
C *v;
C e[S];

Vec<C,S>();
Vec<C,S>(const Vec<C,S> &vv);
Vec();
Vec(const Vec<C,S> &vv);
~Vec() { if (v && v != e) free(v); }

void add(C a);
Expand Down

0 comments on commit 902b00b

Please sign in to comment.