Follow-up note: I messed up the original commit message, but have
repaired it after the fact.  Now it says:

   Make an empty struct nonempty.

   In r23405 we added a component of the task private data to hold comm
   layer information.  This is chpl_comm_taskPrvData_t, a struct typt.  For
   comm=none we don't need any comm layer info, so we made the struct type
   empty.  Unfortunately empty struct types aren't legal C (c99 standard,
   6.2.5 (20)).  The gcc compiler lets this pass, but the PGI and Cray
   compilers bark at it.  To fix this, add a dummy element to the struct
   for the comm=none case.  (I tried making it a 0-length array, but the
   PGI compiler barked at that, too.)

greg


On Mon, 19 May 2014, [email protected] wrote:

> Revision: 23411
>          http://sourceforge.net/p/chapel/code/23411
> Author:   gbtitus
> Date:     2014-05-19 17:47:21 +0000 (Mon, 19 May 2014)
> Log Message:
> -----------
> Make an empty struct nonempty.
>
> In r23405 we added a component of the task private data to hold comm
> layer information.  For comm=none we don't need any such
>
> Revision Links:
> --------------
>    http://sourceforge.net/p/chapel/code/23405
>
> Modified Paths:
> --------------
>    trunk/runtime/include/comm/chpl-comm-task-decls.h
>
> This was sent by the SourceForge.net collaborative development platform, the 
> world's largest Open Source development site.
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Chapel-commits mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chapel-commits
>

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to