# HG changeset patch # User David A. Holland # Date 1653973182 14400 # Node ID a02e9434072e4d9bb1d3908cfeba56abb8b22c28 # Parent 43d8b194fb4e1585f941c2403085b55be9f34d44 Fix friend declaration for gcc10. XXX: did not check it against the IBM compiler, might end up needing XXX: to be conditional. diff -r 43d8b194fb4e -r a02e9434072e examples/dsl/screen.h --- a/examples/dsl/screen.h Tue May 31 00:59:00 2022 -0400 +++ b/examples/dsl/screen.h Tue May 31 00:59:42 2022 -0400 @@ -88,7 +88,7 @@ screen_rect at(int,int,int = 0); // Build a single line rectange at absolute coordinates - friend screen_rect line(int, int, int, int = 0); + friend screen_rect line(int, int, int, int /*= 0*/); // Build a single line rectangle at relative coordinates screen_rect line(int,int,int,int = 0) const;