Project

General

Profile

Bug #1680

ci file compilation fails with no details to debug when the module name has a hyphen

Added by Samarth Kulshreshtha almost 2 years ago. Updated almost 2 years ago.

Status:
Merged
Priority:
Normal
Category:
Charmxi
Target version:
Start date:
09/19/2017
Due date:
% Done:

0%

Tags:

Description

If you name a module with a hyphen and try to compile it then the compilation fails with -

Fatal Error by charmc in directory /home/smkuls/Documents/ra/training/hello-world
Command /home/smkuls/Documents/charm/bin/charmxi -orig-file hello.ci returned error code 1
charmc exiting...

To reproduce, try compiling the attached file and then remove the hyphen from the module name and compile again.

Charm++ Version 60800

I did not find anything in the documentation which defines constraints on how to name a module.

repro.ci (91 Bytes) Samarth Kulshreshtha, 09/19/2017 11:26 AM

History

#1 Updated by Michael Robson almost 2 years ago

  • Assignee set to Samarth Kulshreshtha
  • Target version set to 6.8.1
  • Tags set to charmxi, docs
Two tasks
  • Document what characters are allowed (should be the same as C++ identifiers)
  • Update Charmxi to print a helpful error message

#2 Updated by Samarth Kulshreshtha almost 2 years ago

  • Category set to Charmxi
  • Status changed from New to Implemented

#3 Updated by Phil Miller almost 2 years ago

  • Status changed from Implemented to Merged

#4 Updated by Phil Miller almost 2 years ago

Also available in: Atom PDF