Question: ```
<ul id="nav">
   <li>Tab 1</li>
   <li>Tab 2</li>
   <li>Tab 3</li>
</ul>

#nav li {
   display:inline-block;
   list-style:none;
}

```

This horizontal navigation menu uses `display:inline-block` to put them horizontal. I want to animate the tabs so that one tab show up at a time on the screen in a horizontal fashion.

```
$("#nav li").hide().each(function(i) {
     $(this).delay(500*i).show("bounce", 2000);
});

```

However, this shows up one at a time vertically first before aligning them horizontally, which is not what I want. Changing it to a floating list works, but I don't want to use that. Is there anyway to animate the tabs with jQuery UI without needing to use the float attribute?

Answer: 
Well, you're allocating two huge arrays on the stack. The maximum stack size is not defined by the C++ standard (compilers choose their own limits there), but go over that maximum and stuff's gonna break. 

Large arrays should be allocated on the heap, which means `std::vector` is a better choice than `std::array` (though you could dynamically allocate the `std::array` if you really wanted to). And you certainly shouldn't be returning an array of that size from a function without at least reading up on move-constructors.
This seems to be a stack overflow. My guess is that clang's default stack size is different from g++'s. Try setting the stack size manually to the same size in both linkers.