Skip to content

Commit c177752

Browse files
committed
Problem: ZProject fails to regenerate ZYRE/include/zyre.h
Scenario: ``` cd zyre rm -f include/zyre.h (export PATH=$PWD/../zproject:$PATH; ./generate.sh) ``` Result: ``` ... gsl/4 M: W: in zyre event: 'zmsg' does not resolve to a class gsl/4 M: W: in zyre event: 'zmsg' does not resolve to a class gsl/4 M: NOT regenerating an existing include/zyre.h skeleton file; but you probably should not care gsl/4 M: Generating skeleton for include/zyre.h (zproject_skeletons.gsl 358) Undefined expression: project.headerext ``` Reason: Typo introduced in zproject_skeletons.gsl: https://github.com/zeromq/zproject/blame/master/zproject_skeletons.gsl#L358 Instead of: ``` #include "$(class.name)_library.$(project.headerext)" ``` it should be (like in other places): ``` #include "$(class.name)_library.$(project.header_ext)" ``` Solution: Fix typo.
1 parent 1886ec4 commit c177752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zproject_skeletons.gsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ extern "C" {
355355

356356
. if class.c_name = project.name
357357
// Include the library file with typdefs, public includes and public constants
358-
#include "$(class.name)_library.$(project.headerext)"
358+
#include "$(class.name)_library.$(project.header_ext)"
359359

360360
. endif
361361
// @interface

0 commit comments

Comments
 (0)